9.8

CVE-2021-24037: facebook hermes Use After Free

Modified
AliasesGHSA-mph8-6787-r8hw
Published 15-06-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-24037 is a critical (CVSS 9.8) Use After Free vulnerability in facebook hermes. EPSS estimates a 1.80% chance of exploitation in the next 30 days, higher than 79.1% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.80%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 15-06-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.80%

Chance of exploitation in the next 30 days

Percentile

79%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.80% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Facebook1 product
  • hermescommit prior to d86e185e485b6330216dee8e854455c694e3a36e | < 0.8.0
Npm1 product
  • hermes-engine< 0.8.0

2 vendors · 2 products

References

4 links