Security mailing lists by PureSourceCode

CVE-2021-24037

CRITICAL 9.8CVSS 3.1

Use After Free in Hermes

A use after free in hermes, while emitting certain error messages, prior to commit d86e185e485b6330216dee8e854455c694e3a36e allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.

Published
15 Jun 2021
Last modified
17 Jun 2026
Assigned by
cve-assign@fb.com
NVD status
Modified
Weakness
CWE-416
Also known as
GHSA-mph8-6787-r8hw
Sources
NVDJSONOSV GHSA-mph8-6787-r8hwJSON

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
OSV GitHub 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
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD facebook hermes
cpe:2.3:a:facebook:hermes:*:*:*:*:*:*:*:*
< 0.8.0 0.8.0
OSV npm hermes-engine < 0.8.0 0.8.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 15 Jun 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 May 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.