Live threats

All CVEs / Facebook

CVE-2020-1912Facebook Hermes

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Sep 9, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787, CWE-125
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hermes.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm hermes-engine < 0.5.2 0.5.2 npm install hermes-engine@0.5.2

Per OSV / GitHub Advisories (GHSA-pf27-929j-9pmm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
facebookhermes≤ 0.4.3

Official sources

References

Links published by the sources. Open them with care.