Bug 2376426 (CVE-2025-52496)

Summary: CVE-2025-52496 mbedtls: Mbed TLS AESNI Race Condition Vulnerability
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in mbedtls. A race condition exists during Advanced Encryption Standard New Instructions (AES-NI) detection when specific compiler optimizations are enabled. This flaw allows a local attacker to potentially extract an AES key or perform a GCM forgery within a multithreaded program. This condition arises from concurrent access to shared resources without proper synchronization. Successful exploitation requires the attacker with the ability to influence the timing of threads within the affected application.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2376680, 2376688, 2376679, 2376681, 2376682, 2376683, 2376684, 2376685, 2376686, 2376687, 2376689, 2382564    
Bug Blocks:    

Description OSIDB Bzimport 2025-07-04 15:01:24 UTC
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.