Live threats

All CVEs / Facebook

CVE-2021-24044Facebook Hermes

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
Jan 15, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-843
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter functions, Hermes would invoke generator functions and error out on invalid await/yield positions. This could result in segmentation fault as a consequence of type confusion error, with a low chance of RCE. This issue affects Hermes versions prior to v0.10.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hermes.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm hermes-engine < 0.10.0 0.10.0 npm install hermes-engine@0.10.0

Per OSV / GitHub Advisories (GHSA-7mhc-prgv-r3q4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
facebookhermes< 0.10.0

Official sources

References

Links published by the sources. Open them with care.