CVE-2021-24025 Integer overflow in HHVM
An integer overflow in HHVM's preg_quote function allows attackers to trigger a heap overflow, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-24025?
CVE-2021-24025 is a critical vulnerability in Facebook HHVM, published on 10 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2021-24025?
It affects 1 product.
Products include Facebook Hhvm.
How do I fix CVE-2021-24025?
No fix has been published for CVE-2021-24025 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-24025 being exploited?
There is no known exploitation of CVE-2021-24025 in the wild and no public exploit code.
Other vulnerabilities in Facebook HHVM
Sources
Also known as GHSA-cc9j-57m4-w285, UBUNTU-CVE-2021-24025.