Security mailing lists by PureSourceCode

CVE-2022-40138

CRITICAL 9.8CVSS 3.1

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
11 Oct 2022
Last modified
17 Jun 2026
Assigned by
cve-assign@fb.com
NVD status
Modified
Weakness
CWE-681
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD facebook hermes
cpe:2.3:a:facebook:hermes:*:*:*:*:*:*:*:*
< 2022-09-27 2022-09-27

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 11 Oct 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.