CVE-2025-52496 Race condition in mbedtls

High 7.8 Published Updated

A race condition in Mbed TLS allows attackers to extract AES keys or forge GCM tags in multithreaded applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-52496?

CVE-2025-52496 is a high-severity vulnerability in Arm Mbed Tls, published on 4 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-733

Which versions are affected by CVE-2025-52496?

It affects 1 product.

Products include Arm Mbed Tls.

How do I fix CVE-2025-52496?

Upgrade to a fixed version.

Is CVE-2025-52496 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52496 exists.

All Arm Mbed Tls vulnerabilities

Sources

Also known as ALPINE-CVE-2025-52496, DEBIAN-CVE-2025-52496, GHSA-qc26-g9mm-wmmf, JLSEC-2025-228, ROOT-OS-DEBIAN-12-CVE-2025-52496, UBUNTU-CVE-2025-52496.

Is CVE-2025-52496 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free