# CVE-2021-24037

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.8.0 (CNA); fix release not confirmed
- Status: published
- Published: 2021-06-15 · Modified: 2024-08-03
- Aliases: GHSA-mph8-6787-r8hw
- Record: https://cvemate.com/vulnerability/CVE-2021-24037 · JSON: https://cvemate.com/vulnerability/CVE-2021-24037/json

## Description

```text
A use after free in hermes, while emitting certain error messages, prior to commit d86e185e485b6330216dee8e854455c694e3a36e allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.795%, percentile 79.184%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- facebook hermes: commit prior to d86e185e485b6330216dee8e854455c694e3a36e \| \< 0.8.0
- Npm hermes-engine (Npm): \< 0.8.0

## References

- <https://github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36e>
- <https://www.facebook.com/security/advisories/CVE-2021-24037>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-24037>
- <https://github.com/facebook/hermes>

---

Data as of 2026-12-05T12:30:55.656Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
