Integer overflow in Facebook Hermes

CVE-2022-35289

A write-what-where condition in hermes caused by an integer overflow, prior to commit 5b6255ae049fa4641791e47fad994e8e8c4da374 allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of 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-35289?
CVE-2022-35289 is a critical-severity vulnerability in Facebook Hermes, classified under Integer Overflow to Buffer Overflow. CVSS score: 9.8/10. Published 2022-10-11.
How severe is CVE-2022-35289?
Critical severity. CVSS v3 base score is 9.8 out of 10.