CVE-2025-52497

mbedtls: Mbed TLS before 3.6.4 has a PEM parsing one-byte heap-based buffer underflow, in mbedtls_pem_read_buffer and two mbed...

CVE-2025-52497 is fixed in 12 products on 1 platform, first by DEBIAN-CVE-2025-52497, released July 4, 2025. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
4.8
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0033
26th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
libmbedcrypto1 · Ubuntu 18.04.6 LTS (bionic) 2.8.0-1ubuntu0.1~esm1 libmbedcrypto1 2.8.0-1ubuntu0.1~esm1 Jul 20, 2025
libmbedcrypto3 · Ubuntu 20.04 LTS (focal) 2.16.4-1ubuntu2+esm1 libmbedcrypto3 2.16.4-1ubuntu2+esm1 Jul 20, 2025
libmbedcrypto7 · Ubuntu 22.04.1 LTS (jammy) 2.28.0-1ubuntu0.1~esm1 libmbedcrypto7 2.28.0-1ubuntu0.1~esm1 Jul 20, 2025
libmbedcrypto7t64 · Ubuntu 24.04.5 LTS (noble) 2.28.8-1ubuntu0.1~esm1 libmbedcrypto7t64 2.28.8-1ubuntu0.1~esm1 Jul 20, 2025
libmbedtls10 · Ubuntu 18.04.6 LTS (bionic) 2.8.0-1ubuntu0.1~esm1 libmbedtls10 2.8.0-1ubuntu0.1~esm1 Jul 20, 2025
libmbedtls12 · Ubuntu 20.04 LTS (focal) 2.16.4-1ubuntu2+esm1 libmbedtls12 2.16.4-1ubuntu2+esm1 Jul 20, 2025
libmbedtls14 · Ubuntu 22.04.1 LTS (jammy) 2.28.0-1ubuntu0.1~esm1 libmbedtls14 2.28.0-1ubuntu0.1~esm1 Jul 20, 2025
libmbedtls14t64 · Ubuntu 24.04.5 LTS (noble) 2.28.8-1ubuntu0.1~esm1 libmbedtls14t64 2.28.8-1ubuntu0.1~esm1 Jul 20, 2025
libmbedx509-0 · Ubuntu 18.04.6 LTS (bionic) 2.8.0-1ubuntu0.1~esm1 libmbedx509-0 2.8.0-1ubuntu0.1~esm1 Jul 20, 2025
libmbedx509-0 · Ubuntu 20.04 LTS (focal) 2.16.4-1ubuntu2+esm1 libmbedx509-0 2.16.4-1ubuntu2+esm1 Jul 20, 2025
libmbedx509-1 · Ubuntu 22.04.1 LTS (jammy) 2.28.0-1ubuntu0.1~esm1 libmbedx509-1 2.28.0-1ubuntu0.1~esm1 Jul 20, 2025
libmbedx509-1t64 · Ubuntu 24.04.5 LTS (noble) 2.28.8-1ubuntu0.1~esm1 libmbedx509-1t64 2.28.8-1ubuntu0.1~esm1 Jul 20, 2025
mbedtls · Debian 13.5 (trixie) 3.6.4-1 DEBIAN-CVE-2025-52497 Jul 4, 2025
mbedtls · Debian 14 3.6.4-1 DEBIAN-CVE-2025-52497 Jul 4, 2025
mbedtls · opensuse-leap 16.0 3.6.6-bp160.1.1 OPENSUSE-SU-2026:21144-1 Jun 22, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.