CVE-2020-1914Facebook Hermes
Critical 9.8 No auth needed
Follow: this CVE · Facebook · Facebook Hermes We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Oct 8, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-670
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A logic vulnerability when handling the SaveGeneratorLong instruction in Facebook Hermes prior to commit b2021df620824627f5a8c96615edbd1eb7fdddfc allows attackers to potentially read out of bounds or theoretically 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.
What to do
- Apply the vendor's security update for Hermes.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | hermes-engine |
< 0.7.2 |
0.7.2 |
npm install hermes-engine@0.7.2 |
Per OSV / GitHub Advisories (GHSA-327c-qx3v-h673). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hermes | < 2020-10-01 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- www.facebook.com Vendor Advisory