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.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://www.facebook.com/security/advisories/cve-2020-1912
Patch, Third Party Advisory x_refsource_confirm
https://github.com/facebook/hermes/commit/091835377369c8fd5917d9b87acffa721ad2a168
Scores
CVSS v3
8.1
EPSS
0.0165
EPSS Percentile
82.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-125
CWE-787
Status
published
Products (2)
facebook/hermes
< 0.4.3
npm/hermes-engine
0 - 0.5.2npm
Published
Sep 09, 2020
Tracked Since
Feb 18, 2026