CVE-2022-40138

State
Published
Severity
Not scored
Published
Oct 11, 2022
Updated
Aug 3, 2024
Reserved
Sep 6, 2022

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-681 Incorrect Conversion between Numeric Types

Affected Products

ProductVersions
HermesFacebook
  • before commit prior to 6aa825e480d48127b480b08d13adf70033237097Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.