# CVE-2020-1914: Always-Incorrect Control Flow Implementation in Facebook Hermes

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.51%, higher than 85% of CVEs (2026-12-01)
- Published: 2020-10-08T18:50:11.000Z
- Modified: 2026-06-17T03:02:36.357Z
- Also known as: GHSA-327c-qx3v-h673
- Weaknesses: CWE-670, CWE-1119
- Assigned by: facebook

## Description

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.

(As written by CVE List.)

## Affected

- Facebook Hermes: commit prior to b2021df620824627f5a8c96615edbd1eb7fdddfc; before 2020-10-01
- hermes-engine (npm): before 0.7.2

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.facebook.com/security/advisories/cve-2020-1914> (vendor-advisory, web)
- <https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-1914> (advisory)
- <https://github.com/facebook/hermes/issues/373> (web)
- <https://github.com/facebook/hermes> (package)

## Sources

- CVE List: [CVE-2020-1914](https://www.cve.org/CVERecord?id=CVE-2020-1914), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-327c-qx3v-h673](https://github.com/advisories/GHSA-327c-qx3v-h673), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-1914](https://nvd.nist.gov/vuln/detail/CVE-2020-1914), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-1914 · Whole record: https://cve.day/CVE-2020-1914.json · Rebuilt by cve.day 2026-11-25T22:57:55.097Z
