CVE-2025-52496
Mbed TLS vulnerability analysis and mitigation

Overview

Mbed TLS before version 3.6.4 contains a race condition vulnerability in AESNI detection when certain compiler optimizations occur (NVD). The vulnerability was disclosed on July 4, 2025, and affects the cryptographic functionality of the Mbed TLS library.

Technical details

The vulnerability exists as a race condition in the AESNI (Advanced Encryption Standard New Instructions) detection mechanism when specific compiler optimizations are applied. The issue has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N, indicating local access required with high attack complexity but no privileges or user interaction needed (NVD, Ubuntu).

Impact

The vulnerability can allow an attacker to extract an AES key from a multithreaded program or perform a GCM (Galois/Counter Mode) forgery. This poses a significant risk to the confidentiality and integrity of encrypted communications in affected systems (NVD).

Mitigation and workarounds

The primary mitigation is to upgrade Mbed TLS to version 3.6.4 or later, which contains the fix for this vulnerability. Organizations using affected versions should prioritize this update to prevent potential exploitation (NVD).

Additional resources


SourceThis report was generated using AI

Related Mbed TLS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-47917CRITICAL9.8
  • Mbed TLSMbed TLS
  • mbedtls
NoYesJul 20, 2025
CVE-2025-48965HIGH7.5
  • Mbed TLSMbed TLS
  • cpe:2.3:a:arm:mbed_tls
NoYesJul 20, 2025
CVE-2025-54764MEDIUM6.2
  • Mbed TLSMbed TLS
  • cpe:2.3:a:arm:mbed_tls
NoYesOct 20, 2025
CVE-2025-59438MEDIUM5.3
  • Mbed TLSMbed TLS
  • mpy-tools
NoYesOct 21, 2025
CVE-2025-49087LOW3.7
  • Mbed TLSMbed TLS
  • cpe:2.3:a:arm:mbed_tls
NoYesJul 20, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management