Vulnerabilities · 2021 · Facebook
CVE-2021-24025
Facebook Hhvm vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Hhvm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Facebook Hhvm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Facebook products
CVE-2025-67779CVE-2025-55184CVE-2025-55183CVE-2025-55182CVE-2025-55181CVE-2024-23347CVE-2023-49062CVE-2023-45239All 124
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.