# CVE-2021-24025

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 4.56.3, unspecified (CNA); fix release not confirmed
- Status: published
- Published: 2021-03-10 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-24025
- Record: https://cvemate.com/vulnerability/CVE-2021-24025 · JSON: https://cvemate.com/vulnerability/CVE-2021-24025/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.634%, percentile 77.13%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu hhvm (Ubuntu): All versions (No fix recorded)
- facebook 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

## References

- <https://hhvm.com/blog/2021/02/25/security-update.html>
- <https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca>
- <https://ubuntu.com/security/CVE-2021-24025>
- <https://www.cve.org/CVERecord?id=CVE-2021-24025>

---

Data as of 2026-12-05T09:54:44.884Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
