Intel

AIKIDO-2026-610459

Mbed-TLS.mbedtls is vulnerable to Out-of-bounds Read

Out-of-bounds ReadCVE-2025-52497 Published 4 days ago

48

Medium Risk

This Affects:

c++Mbed-TLS.mbedtls
1.0.0 - 3.6.3
Fixed in 3.6.4
Are you affected? Scan for Free

TL;DR

When parsing PEM-encrypted material through mbedtls_pk_parse_key(), mbedtls_pk_parse_keyfile(), or mbedtls_pem_read_buffer(), the decryption code can read one byte before the start of a heap buffer it allocated. Processing untrusted PEM-encrypted input with a password argument triggers the out-of-bounds read. This typically results in a crash or limited disclosure of adjacent memory. The fix corrects the bounds handling so the read stays within the allocated buffer.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application parses untrusted PEM-encrypted material with a password argument.

Background info

Mbed-TLS.mbedtls is vulnerable to Out-of-bounds Read in versions 1.0.0 - 3.6.3.

How to fix this

Upgrade the Mbed-TLS.mbedtls library to the patch version.