{"id":"CVE-2021-24044","aliases":["GHSA-7mhc-prgv-r3q4"],"url":"https://o3.security/vulnerability/CVE-2021-24044","summary":"Access of Resource Using Incompatible Type in Hermes","details":"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.","published":"2022-01-15T01:15:07.943Z","modified":"2026-07-09T05:13:43.671775Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"hermes-engine","fixedVersion":"0.10.0"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://www.facebook.com/security/advisories/cve-2021-24044"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24044"},{"type":"PACKAGE","url":"https://github.com/facebook/hermes"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T05:13:43.671775Z"}}