# CVE-2023-37479: Improper sanitization of MXCSR and RFLAGS in OpenEnclave

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2023-07-17T22:13:39.400Z
- Modified: 2026-06-17T06:08:18.123Z
- Weaknesses: CWE-665
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Open Enclave is a hardware-agnostic open source library for developing applications that utilize Hardware-based Trusted Execution Environments, also known as Enclaves. There are two issues that are mitigated in version 0.19.3. First, Open Enclave SDK does not properly sanitize the `MXCSR` register on enclave entry. This makes applications vulnerable to MXCSR Configuration Dependent Timing (MCDT) attacks, where incorrect `MXCSR` values can impact instruction retirement by at most one cycle, depending on the (secret) data operand value. Please find more details in the guidance from Intel in the references. Second, Open Enclave SDK does not sanitize x86's alignment check flag `RFLAGS.AC` on enclave entry. This opens up the possibility for a side-channel attacker to be notified for every unaligned memory access performed by the enclave. The issue has been addressed in version 0.19.3 and the current master branch. Users will need to recompile their applications against the patched libraries to be protected from this vulnerability. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- openenclave openenclave: < 0.19.3; before 0.19.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/openenclave/openenclave/security/advisories/GHSA-5gfr-m6mx-p5w4> (vendor-advisory)
- <https://github.com/openenclave/openenclave/commit/ca54623333875b9beaad92c999a92b015c44b079> (patch)
- <https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/best-practices/mxcsr-configuration-dependent-timing.html> (technical-description)

## Sources

- CVE List: [CVE-2023-37479](https://www.cve.org/CVERecord?id=CVE-2023-37479), CVE Terms of Use, modified 2024-10-10
- NVD: [CVE-2023-37479](https://nvd.nist.gov/vuln/detail/CVE-2023-37479), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-37479 · Whole record: https://cve.day/CVE-2023-37479.json · Rebuilt by cve.day 2026-11-25T22:58:25.856Z
