critical9.8
CVE-2022-40138
An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097, could have been used to perform Out-Of-Bou…
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Hermes | before 2022-09-27 |
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/facebook/hermes/commit/6aa825e480d48127b480b08d13adf70033237097
- https://www.facebook.com/security/advisories/CVE-2022-40138
- https://github.com/facebook/hermes/commit/6aa825e480d48127b480b08d13adf70033237097
- https://www.facebook.com/security/advisories/CVE-2022-40138