# JLSEC-2025-228: Mbed TLS before 3.6.4 has a race condition in AESNI detection if certain compiler optimizations...

- Severity: High 7.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-11-21T15:59:04.054Z
- Modified: 2026-07-23T22:30:11.906Z
- Related: CVE-2025-52496

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

(As written by Julia Security Advisories.)

## Affected

- MbedTLS_jll (Julia): before 2.28.1010+0

## References

- <https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-1.md> (web)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00013.html> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-228](https://osv.dev/vulnerability/JLSEC-2025-228), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/JLSEC-2025-228 · Whole record: https://cve.day/JLSEC-2025-228.json · Rebuilt by cve.day 2026-11-25T22:56:25.775Z
