9.8

CVE-2021-24025: facebook hhvm Heap-based Buffer Overflow

Modified
AliasesUBUNTU-CVE-2021-24025
Published 10-03-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-24025 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in facebook hhvm. EPSS estimates a 1.63% chance of exploitation in the next 30 days, higher than 77.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.63%
0%100%
Low · -0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

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

Description

Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function can trigger an integer overflow leading to a heap overflow. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.63%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

Decrease -0.03 pp

From 1.66% 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
  • hhvm≥ 4.81.0, < unspecified | ≥ 4.57.0, < unspecified | ≥ unspecified, < 4.56.3 | < 4.56.3 | ≥ 4.57.0, ≤ 4.80.1 | ≥ 4.81.0, ≤ 4.93.1 | 4.94.0 | 4.95.0 | 4.96.0 | 4.97.0 | 4.98.0
Ubuntu1 product
  • hhvmAll versions (No fix recorded)

2 vendors · 2 products

References

4 links