[Debian-iot-maintainers] Bug#1108786: mbedtls: CVE-2025-52497: Heap buffer under-read when parsing PEM-encrypted material

Salvatore Bonaccorso carnil at debian.org
Sat Jul 5 08:34:42 BST 2025


Source: mbedtls
Version: 3.6.3-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil at debian.org, Debian Security Team <team at security.debian.org>

Hi,

The following vulnerability was published for mbedtls.

CVE-2025-52497[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2025-52497
    https://www.cve.org/CVERecord?id=CVE-2025-52497
[1] https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-2.md

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



More information about the Debian-iot-maintainers mailing list