CVE-2022-40138: facebook hermes
Vulnerability summary
CVE-2022-40138 is a critical (CVSS 9.8) vulnerability in facebook hermes. EPSS estimates a 1.21% chance of exploitation in the next 30 days, higher than 69.4% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 11-10-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097, could have been used to perform Out-Of-Bounds operations and subsequently execute arbitrary code. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
1.21%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.21% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Facebook1 product
- hermes≥ unspecified, < commit prior to 6aa825e480d48127b480b08d13adf70033237097 | < 2022-09-27
1 vendor · 1 product
References
2 links- www.facebook.com/security/advisories/CVE-2022-40138Vendor Advisory