Skip to content

CVE-2025-52496 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 forg...

HighCVSS 7.8 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

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.

Upgrade path

15 packages: 12 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
azure linux qemu(Azure Linux 3.0) All versions No fix listed No fix yet
cbl-mariner qemu(CBL-Mariner 2.0) All versions No fix listed No fix yet
debian/mbedtls(Debian 12) = 2.28.3-1; = 2.28.4-1; = 2.28.5-1; = 2.28.6-1 +19 more No fix listed No fix yet
alpine/mbedtls(Alpine v3.20) < 3.6.4-r0 3.6.4-r0 Fixed
alpine/mbedtls(Alpine v3.21) < 3.6.4-r0 3.6.4-r0 Fixed
alpine/mbedtls(Alpine v3.22) < 3.6.4-r0 3.6.4-r0 Fixed
alpine/mbedtls(Alpine v3.23) < 3.6.4-r0 3.6.4-r0 Fixed
alpine/mbedtls(Alpine v3.24) < 3.6.4-r0 3.6.4-r0 Fixed
alpine/mbedtls3(Alpine v3.24) < 3.6.4-r0 3.6.4-r0 Fixed
Arm Ltd mbed tls < 3.6.4 3.6.4 Fixed
debian/mbedtls(Debian 13) < 3.6.4-1 3.6.4-1 Fixed
debian/mbedtls(Debian 14) < 3.6.4-1 3.6.4-1 Fixed
mbedtls < 3.6.4 3.6.4 Fixed
ubuntu/mbedtls(Ubuntu 22.04) < 2.28.0-1ubuntu0.1~esm1 2.28.0-1ubuntu0.1~esm1 Fixed
ubuntu/mbedtls(Ubuntu 24.04) < 2.28.8-1ubuntu0.1~esm1 2.28.8-1ubuntu0.1~esm1 Fixed

Affected products

ProductAffected versionsFixed in
azure linux qemu(Azure Linux:3.0) All versions No fix listed
cbl-mariner qemu(CBL-Mariner:2.0) All versions No fix listed
debian/mbedtls(Debian:12) All versions No fix listed
debian/mbedtls(Debian:12) = 2.28.3-1 No fix listed
debian/mbedtls(Debian:12) = 2.28.4-1 No fix listed
debian/mbedtls(Debian:12) = 2.28.5-1 No fix listed
debian/mbedtls(Debian:12) = 2.28.6-1 No fix listed
debian/mbedtls(Debian:12) = 2.28.7-1 No fix listed
debian/mbedtls(Debian:12) = 2.28.7-1.1 No fix listed
debian/mbedtls(Debian:12) = 2.28.7-1.1~exp1 No fix listed
debian/mbedtls(Debian:12) = 2.28.8-1 No fix listed
debian/mbedtls(Debian:12) = 3.6.0-1 No fix listed
debian/mbedtls(Debian:12) = 3.6.0-2 No fix listed
debian/mbedtls(Debian:12) = 3.6.0-3 No fix listed
debian/mbedtls(Debian:12) = 3.6.2-1 No fix listed
debian/mbedtls(Debian:12) = 3.6.2-2 No fix listed
debian/mbedtls(Debian:12) = 3.6.2-3 No fix listed
debian/mbedtls(Debian:12) = 3.6.3-1 No fix listed
debian/mbedtls(Debian:12) = 3.6.4-1 No fix listed
debian/mbedtls(Debian:12) = 3.6.4-2 No fix listed
debian/mbedtls(Debian:12) = 3.6.5-0.1 No fix listed
debian/mbedtls(Debian:12) = 3.6.5-0.1~deb13u1 No fix listed
debian/mbedtls(Debian:12) = 3.6.6-0.1 No fix listed
debian/mbedtls(Debian:12) = 3.6.7-2 No fix listed
debian/mbedtls(Debian:12) = 3.6.7-3 No fix listed
Show 12 more
ProductAffected versionsFixed in
debian/mbedtls(Debian:13) < 3.6.4-1 3.6.4-1
debian/mbedtls(Debian:14) < 3.6.4-1 3.6.4-1
mbedtls < 3.6.4 3.6.4
ubuntu/mbedtls(Ubuntu:22.04) < 2.28.0-1ubuntu0.1~esm1 2.28.0-1ubuntu0.1~esm1
alpine/mbedtls(Alpine:v3.20) < 3.6.4-r0 3.6.4-r0
alpine/mbedtls(Alpine:v3.21) < 3.6.4-r0 3.6.4-r0
alpine/mbedtls(Alpine:v3.22) < 3.6.4-r0 3.6.4-r0
alpine/mbedtls(Alpine:v3.23) < 3.6.4-r0 3.6.4-r0
alpine/mbedtls(Alpine:v3.24) < 3.6.4-r0 3.6.4-r0
alpine/mbedtls3(Alpine:v3.24) < 3.6.4-r0 3.6.4-r0
ubuntu/mbedtls(Ubuntu:24.04) < 2.28.8-1ubuntu0.1~esm1 2.28.8-1ubuntu0.1~esm1
Arm Ltd mbed tls < 3.6.4 3.6.4

References