CVE-2025-52497

published 4 Jul 2025 · updated 3 Sep 2026

Mbed TLS before 3.6.4 has a PEM parsing one-byte heap-based buffer underflow, in mbedtls_pem_read_buffer and two mbedtls_pk_parse functions, via untrusted PEM input.

4.8MediumCVSS 4.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.6.4.

Mbed TLS before 3.6.4 has a PEM parsing one-byte heap-based buffer underflow, in mbedtls_pem_read_buffer and two mbedtls_pk_parse functions, via untrusted PEM input.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Mbed<3.6.43.6.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-52497 severity on Zeptric[![CVE-2025-52497](https://zeptric.io/badge/cve/CVE-2025-52497.svg)](https://zeptric.io/cve/CVE-2025-52497)