CVE-2022-40138

Published Oct 11, 2022 CVSS 3.1 · 9.8 Critical EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-43456 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
facebook
Published
Updated
Aug 3, 2024, 12:14 PM
Reserved
Sep 6, 2022, 12:00 AM
Status
Modified
Published
Oct 11, 2022, 2:15 AM
Modified
Jun 17, 2026, 5:01 AM