Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.8
CVE-2025-52496: rootio-mbedtls may leak encryption keys under certain load
CVE-2025-52496 · published 1 year ago
Summary
The rootio-mbedtls library used in Debian can mistakenly expose an AES encryption key when multiple threads run together and the code is compiled with specific optimizations. This could allow an attacker to steal the key or forge encrypted messages. Update to the latest version of rootio-mbedtls that includes the fix.
What to do
- Update debian rootio-mbedtls to version 2.28.3-1.root.io.13.
- Update arm mbed_tls to version 3.6.4 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Root:Debian:12 | debian | rootio-mbedtls |
< 2.28.3-1.root.io.13 Fix: upgrade to 2.28.3-1.root.io.13
|
| – | arm | mbed_tls |
< 3.6.4 cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:* |
Original advisory text
CVE-2025-52496 in rootio-mbedtls - Patched by Root
Mbed TLS before 3.6.4 has a race condition in AESNI detection if certain compiler optimizations occur. An attacker may be able to extract an AES key from a multithreaded program, or perform a GCM forgery.
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52496... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-52496 Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/08/msg00013.html URL
- https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-s... Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-733Compiler Optimization Removal or Modification of Security-critical Code
Timeline
Published4 Jul 2025
Updated29 Oct 2026
First seen5 May 2026
Track software like this
Free during beta