Heap-based buffer overflow in Meta HHVM
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.
Summary
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA HHVM (Facebook) Fixed in 3.27.6
Timeline
- 2026-10-02 Threatist record created from CVE-2018-6345
- 2026-10-03 Alias added: GHSA-g4fr-ffvg-p5w6
References
More Meta Hhvm vulnerabilities
- TI-2018-04659 Improper input validation in Meta HHVM CVSS 3.1CRITICAL 9.8
- TI-2022-17147 Broken or risky cryptographic algorithm in Meta HHVM CVSS 3.1CRITICAL 9.8
- TI-2019-08934 Memory corruption in Meta HHVM CVSS 3.1CRITICAL 9.8
- TI-2021-06352 Heap-based buffer overflow in Meta folly CVSS 3.1CRITICAL 9.8
- TI-2019-08935 An invalid free in mb_detect_order can cause the application to crash or potentially… CVSS 3.1CRITICAL 9.8
- TI-2016-05898 Integer overflow in bcmath in Facebook HHVM before 3.15.0 allows attackers to have… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2018-6345 · CVE Program
- CVE-2018-6345 · NVD
- FIRST EPSS
- GHSA-g4fr-ffvg-p5w6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences