Skip to main content
CVE-2025-52497VulnerabilityPublished Updated

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

Affects mbedtlsSource GCVE Database

0
Compare
Authoritative record:CVE-2025-52497· Medium 4.8

Not known to be exploited · CVSS 4.8 Medium · fixed in 2.8.0-1ubuntu0.1~esm1 : update mbedtls when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mitre)CVSS 3.14.8
EPSS
0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.8.0-1ubuntu0.1~esm1, 2.16.4-1ubuntu2+esm1, 2.28.0-1ubuntu0.1~esm1 +1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10mbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=questingOther threatsAffected
  • =3.6.2-3ubuntu1
Fixed in–
Ubuntu Pro 24.04 LTSmbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <2.28.8-1ubuntu0.1~esm1
Fixed in
  • 2.28.8-1ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSmbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <2.28.0-1ubuntu0.1~esm1
Fixed in
  • 2.28.0-1ubuntu0.1~esm1
Ubuntu Pro 20.04 LTSmbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=esm-apps/focalOther threatsAffected
  • <2.16.4-1ubuntu2+esm1
Fixed in
  • 2.16.4-1ubuntu2+esm1
Ubuntu Pro 18.04 LTSmbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <2.8.0-1ubuntu0.1~esm1
Fixed in
  • 2.8.0-1ubuntu0.1~esm1
Ubuntu 16.04 LTSmbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=xenialOther threatsAffected
  • 2.1.2-1 – 2.2.1-2ubuntu0.3
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…