CVE-2025-52497
CVE-2025-52497
CVSS 4.8 · Medium · EPSS 0.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- mbedtlsUpdate to 3.6.4
- mbedtls Alpine 3.20Update to 3.6.4-r0
- mbedtls Alpine 3.21Update to 3.6.4-r0
- mbedtls Alpine 3.22Update to 3.6.4-r0
- and 12 more
Check the installed version:
apk list -I -o mbedtlsAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:21144-1 · openSUSE Leap 16.0 ·
- USN-8123-1 · Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS, Ubuntu Pro 24.04 LTS ·
- DLA-4274-1 · Debian 11 ·
Stack: system
Affected products and versions
mbedtls
- Versions
- ≥ 0, < 3.6.4: Affected (custom)
Update to 3.6.4
mbedtls Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 3.6.4-r0
Update to 3.6.4-r0
mbedtls Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 3.6.4-r0
Update to 3.6.4-r0
mbedtls Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 3.6.4-r0
Update to 3.6.4-r0
mbedtls Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 3.6.4-r0
Update to 3.6.4-r0
mbedtls Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 3.6.4-r0
Update to 3.6.4-r0
mbedtls3 Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 3.6.4-r0
Update to 3.6.4-r0
mbedtls Debian 12
- Versions
- 2.28.3-1
- 2.28.4-1
- 2.28.5-1
- 2.28.6-1
- 2.28.7-1
- 2.28.7-1.1
All versions (22)
- 2.28.7-1.1~exp1
- 2.28.8-1
- 3.6.0-1
- 3.6.0-2
- 3.6.0-3
- 3.6.2-1
- 3.6.2-2
- 3.6.2-3
- 3.6.3-1
- 3.6.4-1
- 3.6.4-2
- 3.6.5-0.1
- 3.6.5-0.1~deb13u1
- 3.6.6-0.1
- 3.6.7-2
- 3.6.7-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mbedtls Debian 13
- Affected ranges
- ECOSYSTEM: < 3.6.4-1
Update to 3.6.4-1
mbedtls Debian 14
- Affected ranges
- ECOSYSTEM: < 3.6.4-1
Update to 3.6.4-1
mbedtls Ubuntu 16.04 LTS
- Versions
- 2.1.2-1
- 2.2.0-1
- 2.2.1-1
- 2.2.1-2
- 2.2.1-2ubuntu0.1
- 2.2.1-2ubuntu0.2
All versions (7)
- 2.2.1-2ubuntu0.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
mbedtls Ubuntu Pro 18.04 LTS
- Versions
- 2.5.1-1ubuntu1
- 2.6.0-1
- 2.7.0-2
- 2.8.0-1
- Affected ranges
- ECOSYSTEM: < 2.8.0-1ubuntu0.1~esm1
Update to 2.8.0-1ubuntu0.1~esm1
mbedtls Ubuntu Pro 20.04 LTS
- Versions
- 2.16.2-1
- 2.16.3-1
- 2.16.4-1ubuntu2
- Affected ranges
- ECOSYSTEM: < 2.16.4-1ubuntu2+esm1
Update to 2.16.4-1ubuntu2+esm1
mbedtls Ubuntu Pro 22.04 LTS
- Versions
- 2.16.9-0.1ubuntu1
- 2.16.11-0.1ubuntu1
- 2.16.11-0.3
- 2.28.0-1
- 2.28.0-1build1
- Affected ranges
- ECOSYSTEM: < 2.28.0-1ubuntu0.1~esm1
Update to 2.28.0-1ubuntu0.1~esm1
mbedtls Ubuntu Pro 24.04 LTS
- Versions
- 2.28.3-1
- 2.28.6-1ubuntu1
- 2.28.7-1ubuntu1
- 2.28.7-1.1ubuntu1
- 2.28.8-1
- Affected ranges
- ECOSYSTEM: < 2.28.8-1ubuntu0.1~esm1
Update to 2.28.8-1ubuntu0.1~esm1
mbedtls Ubuntu 25.10
- Versions
- 3.6.2-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published