Buffer overflow in Facebook Hermes

CVE-2020-1912

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.

Vulnerability class: Buffer Overflow

EPSS: 0.018 (77.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Facebook Hermes — versions commit prior to 091835377369c8fd5917d9b87acffa721ad2a168

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-1912?
CVE-2020-1912 is a high-severity vulnerability in Facebook Hermes, classified under Out-of-bounds Write. CVSS score: 8.1/10. Published 2020-09-09.
How severe is CVE-2020-1912?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2020-1912 known to be exploited?
8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.