{"id":"CVE-2020-1914","details":"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.","aliases":["GHSA-327c-qx3v-h673"],"modified":"2026-10-29T07:24:11.817673714Z","published":"2020-10-08T19:15:12.080Z","database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:facebook:hermes:*:*:*:*:*:*:*:*"],"extracted_events":[{"range":[{"fixed":"2020-10-01"}],"source":"CPE_RANGE"}],"vendor_product":"facebook:hermes"}]},"references":[{"type":"ADVISORY","url":"https://www.facebook.com/security/advisories/cve-2020-1914"},{"type":"FIX","url":"https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/facebook/hermes","events":[{"introduced":"0"},{"fixed":"b2021df620824627f5a8c96615edbd1eb7fdddfc"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"b2021df620824627f5a8c96615edbd1eb7fdddfc"}],"source":"DESCRIPTION"}]}}],"versions":["v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.1","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1914.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["264383434278169305758865362435794456260","76271904801096239230935603644833861131","146835001213185705022272512464460210904","210570179874108656330956328571994936363","81910687812536689839731088775916563053","136121027497276808367338578697424643274","206430703044721234072769601555972370445","127253530693054035434461344533253463866","20622120592523609164277160054788065210","260823001671683298417999139140271760739","18509309836321432823910742130644565773","299039658107690335694225241303692484975","164845285803737957979778749259751343611","269089315968286494101980403277059164404","83452544947671549027578647915222245791","224216718335748026483058946717149480044","102913092489513992894307197525306448624","184706754241457839244474718225622275814","278499218663552256137556054748330650298","20097087228129587505593203395247955599","331178970046319945645413957070854895223","267632302448148322876793350395896242101"],"threshold":0.9},"id":"CVE-2020-1914-7b87d5a3","signature_type":"Line","signature_version":"v1","source":"https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc","target":{"file":"lib/VM/Interpreter.cpp"}},{"id":"CVE-2020-1914-bbc25ae0","signature_type":"Function","signature_version":"v1","source":"https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc","target":{"file":"lib/VM/Interpreter.cpp","function":"Interpreter::interpretFunction"},"deprecated":false,"digest":{"function_hash":"239627296047632175408245401516108283608","length":65904}},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["179983482675987937712928295585278775808","166835343279817372637414812210345427256","312118838365306741632746657157637573468"]},"id":"CVE-2020-1914-d2c7158d","signature_type":"Line","signature_version":"v1","source":"https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc","target":{"file":"include/hermes/VM/Interpreter.h"}},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc","target":{"file":"lib/VM/Interpreter-slowpaths.cpp"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["149996285039332532777077833660766082057","335788309594270301477032780664985386154","211413607963294137752909557711509214842","149739945718658044461070928675895499080","301933119673681439372789711091709958862","7666850523561389404654852992919780966"]},"id":"CVE-2020-1914-e61dc7be"}],"vanir_signatures_modified":"2026-10-29T07:24:11Z"}},{"ranges":[{"type":"GIT","repo":"https://github.com/meta/hermes","events":[{"introduced":"0"},{"fixed":"b2021df620824627f5a8c96615edbd1eb7fdddfc"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"b2021df620824627f5a8c96615edbd1eb7fdddfc"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.1","v0.1.1","v0.1.0"],"database_specific":{"vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["179983482675987937712928295585278775808","166835343279817372637414812210345427256","312118838365306741632746657157637573468"],"threshold":0.9},"id":"CVE-2020-1914-125375c8","signature_type":"Line","signature_version":"v1","source":"https://github.com/meta/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc","target":{"file":"include/hermes/VM/Interpreter.h"}},{"target":{"file":"lib/VM/Interpreter.cpp"},"deprecated":false,"digest":{"line_hashes":["264383434278169305758865362435794456260","76271904801096239230935603644833861131","146835001213185705022272512464460210904","210570179874108656330956328571994936363","81910687812536689839731088775916563053","136121027497276808367338578697424643274","206430703044721234072769601555972370445","127253530693054035434461344533253463866","20622120592523609164277160054788065210","260823001671683298417999139140271760739","18509309836321432823910742130644565773","299039658107690335694225241303692484975","164845285803737957979778749259751343611","269089315968286494101980403277059164404","83452544947671549027578647915222245791","224216718335748026483058946717149480044","102913092489513992894307197525306448624","184706754241457839244474718225622275814","278499218663552256137556054748330650298","20097087228129587505593203395247955599","331178970046319945645413957070854895223","267632302448148322876793350395896242101"],"threshold":0.9},"id":"CVE-2020-1914-73259d56","signature_type":"Line","signature_version":"v1","source":"https://github.com/meta/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc"},{"signature_version":"v1","source":"https://github.com/meta/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc","target":{"file":"lib/VM/Interpreter-slowpaths.cpp"},"deprecated":false,"digest":{"line_hashes":["149996285039332532777077833660766082057","335788309594270301477032780664985386154","211413607963294137752909557711509214842","149739945718658044461070928675895499080","301933119673681439372789711091709958862","7666850523561389404654852992919780966"],"threshold":0.9},"id":"CVE-2020-1914-bd1a33f3","signature_type":"Line"},{"target":{"file":"lib/VM/Interpreter.cpp","function":"Interpreter::interpretFunction"},"deprecated":false,"digest":{"function_hash":"239627296047632175408245401516108283608","length":65904},"id":"CVE-2020-1914-fab71554","signature_type":"Function","signature_version":"v1","source":"https://github.com/meta/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc"}],"vanir_signatures_modified":"2026-10-29T07:24:11Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1914.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}