CVE-2021-24025: Integer Overflow
Due to incorrect string size calculations inside the pregquote 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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue?
The vulnerability ID for this issue is CVE-2021-24025.
What is the severity of CVE-2021-24025?
CVE-2021-24025 has a severity rating of critical.
Which software versions are affected by CVE-2021-24025?
CVE-2021-24025 affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, and all versions between 4.81.0 and 4.93.1.
How can CVE-2021-24025 be exploited?
CVE-2021-24025 can be exploited by passing a large input string to the preg_quote function, triggering an integer overflow and leading to a heap overflow.
Is there a fix available for CVE-2021-24025?
Yes, the fix for CVE-2021-24025 is included in HHVM version 4.56.3 and later.