{"cve":"CVE-2021-24037","nvd":{"published":"2021-06-15T22:15:08.680","modified":"2026-06-17T03:39:12.083","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-416"],"references":["https://github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36e","https://www.facebook.com/security/advisories/CVE-2021-24037","https://github.com/facebook/hermes/commit/d86e185e485b6330216dee8e854455c694e3a36e","https://www.facebook.com/security/advisories/CVE-2021-24037"],"products":["facebook:hermes"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-24037","score":0.01795,"percentile":0.78429,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mph8-6787-r8hw","url":"https://osv.dev/vulnerability/GHSA-mph8-6787-r8hw","summary":"Use After Free in Hermes","modified":"2023-11-08T04:05:14.292460Z","packages":[{"ecosystem":"npm","name":"hermes-engine","purl":"pkg:npm/hermes-engine","ranges":["<0.8.0"],"fixed":["0.8.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}