Intel

AIKIDO-2026-610459

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

CVE-2025-52497Published Jul 29, 2026
July 29, 2026

48

CVE Score

Medium

Out-of-bounds Read

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.

How do I fix this?

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

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.

Package

Mbed-TLS.mbedtls

Versions

1.0.0 - 3.6.3

Fixed in 3.6.4

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea