Skip to content

CVE-2022-40138 An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097, could have been used to perform Out-Of-Bounds operations and subsequently execute a...

CriticalCVSS 9.8 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known

Description

An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097, could have been used to perform Out-Of-Bounds operations and subsequently execute arbitrary code. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected.

Affected products

ProductAffected versionsFixed in
facebook Hermes < commit prior to 6aa825e480d48127b480b08d13adf70033237097 commit prior to 6aa825e480d48127b480b08d13adf70033237097
facebook Hermes < 2022-09-27 2022-09-27

References