CVE-2025-52497
4.8
MEDIUM
CVSS 3.1
EPSS 0.36%
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.
How to fix CVE-2025-52497
To remediate CVE-2025-52497, upgrade the affected package to a fixed version below.
- Alpine/mbedtls—upgrade to 3.6.4-r0 or later
- Debian/mbedtls—upgrade to 2.16.9-0.1+deb11u2 or later
Is CVE-2025-52497 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 3.6.4-r0
- from 0, < 2.16.9-0.1+deb11u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L |