Vulnerability in Facebook Hermes

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 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.

EPSS: 0.010 (59.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-40138?
CVE-2022-40138 is a critical-severity vulnerability in Facebook Hermes, classified under Incorrect Conversion between Numeric Types. CVSS score: 9.8/10. Published 2022-10-11.
How severe is CVE-2022-40138?
Critical severity. CVSS v3 base score is 9.8 out of 10.