CVE-2021-24025
publishedHHVM vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | HHVM4.98.1 to < unspecified (unaffected · custom) · 4.98.0 (affected) · 4.97.1 to < unspecified (unaffected · custom) · 4.97.0 (affected) · 4.96.1 to < unspecified (unaffected · custom) · 4.96.0 (affected) · 4.95.1 to < unspecified (unaffected · custom) · 4.95.0 (affected) · 4.94.1 to < unspecified (unaffected · custom) · 4.94.0 (affected) · 4.93.2 to < unspecified (unaffected · custom) · 4.81.0 to < unspecified (affected · custom) · 4.80.2 to < unspecified (unaffected · custom) · 4.57.0 to < unspecified (affected · custom) · 4.56.3 to < unspecified (unaffected · custom) · unspecified to < 4.56.3 (affected · custom) | Version-specific | Not stated |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HHVM | 4.98.1 to < unspecified (unaffected · custom)4.98.0 (affected)4.97.1 to < unspecified (unaffected · custom)4.97.0 (affected)4.96.1 to < unspecified (unaffected · custom)4.96.0 (affected)4.95.1 to < unspecified (unaffected · custom)4.95.0 (affected)4.94.1 to < unspecified (unaffected · custom)4.94.0 (affected)4.93.2 to < unspecified (unaffected · custom)4.81.0 to < unspecified (affected · custom)4.80.2 to < unspecified (unaffected · custom)4.57.0 to < unspecified (affected · custom)4.56.3 to < unspecified (unaffected · custom)unspecified to < 4.56.3 (affected · custom) | facebook · cna |
Weaknesses
1- CWE-122 Heap-based Buffer Overflow (CWE-122)
References
2Provider assertions
2facebook · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7d98d450f95b4f7fc9e22e2f27cf7e7e831856e370b1c7987a1906c274fbfdbc
- Ingested
- 23 Sep 2026, 07:52:58 UTC
- Source record
- Official CVE record