# CVE-2025-52497: Mbed TLS before 3.6.4 has a PEM parsing one-byte heap-based buffer underflow, in mbedtlspemreadbuffer and two mbedtlspkparse functions, via…

- Severity: Medium 4.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2025-07-04T00:00:00.000Z
- Modified: 2026-06-17T09:36:36.253Z
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Mbed mbedtls: before 3.6.4
- arm mbed_tls: before 3.6.4

## References

- <https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-2.md> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00013.html>

## Sources

- CVE List: [CVE-2025-52497](https://www.cve.org/CVERecord?id=CVE-2025-52497), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2025-52497](https://nvd.nist.gov/vuln/detail/CVE-2025-52497), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-52497 · Whole record: https://cve.day/CVE-2025-52497.json · Rebuilt by cve.day 2026-11-25T22:59:00.666Z
