CVE-2020-1896: facebook hermes Stack-based Buffer Overflow
Vulnerability summary
CVE-2020-1896 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in facebook hermes. EPSS estimates a 2.42% chance of exploitation in the next 30 days, higher than 83.9% of scored vulnerabilities.
Timeline
- 02-02-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
A stack overflow vulnerability in Facebook Hermes 'builtin apply' prior to commit 86543ac47e59c522976b5632b8bf9a2a4583c7d2 (https://github.com/facebook/hermes/commit/86543ac47e59c522976b5632b8bf9a2a4583c7d2) 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 metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
2.42%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
0.00 pp
From 2.42% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Facebook1 product
- hermescommit prior to 86543ac47e59c522976b5632b8bf9a2a4583c7d2 | < 0.5.0
1 vendor · 1 product
References
2 links- github.com/facebook/hermes/commit/86543ac47e59c522976b5632b8bf9a2a4583c7d2X Refsource CONFIRMPatchThird Party Advisory