Vulnerabilities · 2018 · Facebook
CVE-2018-6345
Facebook Hhvm vulnerability
The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large. The internal implementation of the function will cause a string to be created with an invalid length, which can then interact poorly with other functions. This affects all supported versions of HHVM (3.30.1 and 3.27.5 and below).
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.