9.8

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

CVSS: 9.8v3.1CriticalModified
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.66% chance of exploitation in the next 30 days, higher than 76.3% 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.66%
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. 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.66%

Chance of exploitation in the next 30 days

Percentile

76%

Versus all other CVEs

30-day change

0.00 pp

From 1.66% on 20-09-2026

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

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
  • 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