Race condition in mbed TLS - CVE-2025-52496
Published: July 7, 2025
Vulnerability identifier: #VU112445
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:N/SA:N]
CVE-ID: CVE-2025-52496
CWE-ID: CWE-362
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to a race condition on x86 and amd64 systems that have the AESNI instruction, as it can be used for AES encryption and decryption. A remote attacker can extract AES keys from multithreaded programs and use them to decrypt traffic.
Affected software
mbed TLS
Fedora
Ubuntu
mbedtls (Ubuntu package)
mbedtls
dolphin-emu
Fedora
Ubuntu
mbedtls (Ubuntu package)
mbedtls
dolphin-emu
How to mitigate CVE-2025-52496
Install updates from vendor's website.
mbed TLS - update to 3.6.4
mbedtls (Ubuntu package) - addressed in versions 2.8.0-1ubuntu0.1~esm1, 2.16.4-1ubuntu2+esm1, 2.28.0-1ubuntu0.1~esm1, 2.28.8-1ubuntu0.1~esm1
mbedtls - addressed in versions 3.6.4-1.fc42, 3.6.4-2.el10_0, 3.6.4-2.el10_1
dolphin-emu - update to 2503a-4.fc42
mbedtls (Ubuntu package) - addressed in versions 2.8.0-1ubuntu0.1~esm1, 2.16.4-1ubuntu2+esm1, 2.28.0-1ubuntu0.1~esm1, 2.28.8-1ubuntu0.1~esm1
mbedtls - addressed in versions 3.6.4-1.fc42, 3.6.4-2.el10_0, 3.6.4-2.el10_1
dolphin-emu - update to 2503a-4.fc42