Skip to main content
← All vulnerabilities
CVE-2022-40138

An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097, could have been used to

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in commit prior to 6aa825e480d48127b480b08d13adf70033237097
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Facebook Hermes

    fixed in commit prior to 6aa825e480d48127b480b08d13adf70033237097

References 2

GitHub · facebook/hermes

facebook.com