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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.92% (percentile 58, 2026-11-26)
- **CWE:** CWE-665
- **Published:** 2023-07-17T22:13:39.400Z
- **Modified:** 2026-06-17T06:08:18.123Z

## Who should check

- Anyone running openenclave \< 0.19.3

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

## Affected and fixed versions

- openenclave: \< 0.19.3 (cvelist)

## Mitigation

- Upgrade openenclave to 0.19.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-37479. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-37479.md
Affected: openenclave < 0.19.3
Fixed in: openenclave 0.19.3

Steps:
1. Search this machine and project for openenclave: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-37479 being exploited?

There is no confirmed exploitation: CVE-2023-37479 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.92% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-37479?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-37479?

openenclave \< 0.19.3.

### Is there a fix for CVE-2023-37479?

Yes. Fixed in openenclave 0.19.3. Upgrade openenclave to 0.19.3 or later.

### How do I check if I'm affected by CVE-2023-37479?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-37479>

HTML: <https://flawdb.com/CVE-2023-37479> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-37479>
