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.

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.012 (67.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 68th percentile — 67.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-40138: held from 0.010 to 0.012.

EPSS over last 30 days · oldest: 0.010 · newest: 0.012 · change: +0.002

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.