CVE-2025-52497Published Jul 4, 2025 · Jul 4Updated Oct 28
Mbed TLS before 3.6.4 has a PEM parsing one-byte heap-based buffer underflow, in mbedtls_pem_read_buffer and two mbed…
mbedtls
Medium4.8
mbedtls
Mbed TLS before 3.6.4 has a one-byte heap buffer underflow in mbedtls_pem_read_buffer and two mbedtls_pk_parse functions when parsing untrusted PEM input. An attacker who can supply that input can trigger the underflow; the input does not specify whether authentication, network access, or user interaction is required.
Engineers using Mbed TLS versions before 3.6.4 should check whether their applications parse untrusted PEM input.