Live threats

All CVEs / Facebook

CVE-2021-24025Facebook Hhvm

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Mar 10, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122, CWE-190
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hhvm.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
facebookhhvm< 4.56.3
facebookhhvm≥ 4.57.0 ≤ 4.80.1
facebookhhvm≥ 4.81.0 ≤ 4.93.1
facebookhhvm4.94.0
facebookhhvm4.95.0
facebookhhvm4.96.0
facebookhhvm4.97.0
facebookhhvm4.98.0

Official sources

References

Links published by the sources. Open them with care.