CVE-2021-24037
highpriority · track · 40EPSS 0.018 · 78 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-mph8-6787-r8hwUse After Free in Hermes2022-05-24ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36ecnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021062905cnnvd
- https://www.facebook.com/security/advisories/CVE-2021-24037cnnvd
- https://github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36eenisa_euvd
- https://www.facebook.com/security/advisories/CVE-2021-24037enisa_euvd
- https://github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36ePatchThird Party Advisorynvd
- https://www.facebook.com/security/advisories/CVE-2021-24037Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan