CVE-2021-24044: Facebook Hermes

Critical severity, CVSS 9.8. EPSS: 1.3% chance of exploitation in the next 30 days.

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.

Affected products

  • Facebook Hermes: before 0.10.0 (fixed in 0.10.0)

Published 2022-01-15. Last modified 2026-06-17.