# CVE-2020-1912: Out-of-bounds Read and Out-of-bounds Write in Facebook Hermes

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/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): 1.81%, higher than 79% of CVEs (2026-12-01)
- Published: 2020-09-09T18:50:17.000Z
- Modified: 2026-06-17T03:02:36.140Z
- Also known as: GHSA-pf27-929j-9pmm
- Weaknesses: CWE-125, CWE-787
- Assigned by: facebook

## Description

An out-of-bounds read/write vulnerability when executing lazily compiled inner generator functions in Facebook Hermes prior to commit 091835377369c8fd5917d9b87acffa721ad2a168 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.

(As written by CVE List.)

## Affected

- Facebook Hermes: commit prior to 091835377369c8fd5917d9b87acffa721ad2a168; up to 0.4.3
- hermes-engine (npm): before 0.5.2

## Every score

- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

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

## Sources

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

---

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