9.8

CVE-2021-24037: facebook hermes Use After Free

CVSS: 9.8v3.1CriticalModified
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 78.1% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.80%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

78%

Versus all other CVEs

30-day change

0.00 pp

From 1.80% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.80%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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

2 vendors · 2 products

References

4 links