What’s Vulnerable › Vulnerabilities

CVE-2022-40138

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

How to fix

Upgrade to a fixed version: Facebook Hermes 2022-09-27. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-40138 or the next vulnerability affects your stack