What’s Vulnerable › Vulnerabilities
CVE-2022-32234
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-10-11 · updated 2026-06-17
- Weakness: CWE-787
Description
An out of bounds write in hermes, while handling large arrays, prior to commit 06eaec767e376bfdb883d912cb15e987ddf2bda1 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.
Affected products
- Facebook Hermes: before 0.12.0 — fixed in 0.12.0
How to fix
Upgrade to a fixed version: Facebook Hermes 0.12.0. Check the vendor advisory for mitigations.
References
- https://github.com/facebook/hermes/commit/06eaec767e376bfdb883d912cb15e987ddf2bda1
- https://www.facebook.com/security/advisories/CVE-2022-32234
- https://github.com/facebook/hermes/commit/06eaec767e376bfdb883d912cb15e987ddf2bda1
- https://www.facebook.com/security/advisories/CVE-2022-32234
Get alerted when CVE-2022-32234 or the next vulnerability affects your stack