CVE-2021-24037
publishedHermes vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | Hermescommit prior to d86e185e485b6330216dee8e854455c694e3a36e | Affected | Not stated |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Hermes | commit prior to d86e185e485b6330216dee8e854455c694e3a36e (affected) | facebook · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
2Provider assertions
2facebook · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 462ecd4688dd6abfe5ec0ad6b9f0208338125e3af7489d55776031028bb7c6a2
- Ingested
- 23 Sep 2026, 07:52:58 UTC
- Source record
- Official CVE record