
CVE catalog
CVE-2018-6345
UBUNTU-CVE-2018-6345
- Severity
- Unknown
- Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 1.75% · Oct 27, 2026
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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Ubuntu | hhvm | 16.04 | 3.11.0+dfsg-1 | vulnerable |
| Ubuntu | hhvm | 16.04 | 3.11.1+dfsg-1 | vulnerable |
| Ubuntu | hhvm | 16.04 | 3.11.1+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | hhvm | 18.04 | 3.21.0+dfsg-2 | vulnerable |
| Ubuntu | hhvm | 18.04 | 3.21.0+dfsg-2build1 | vulnerable |
| Ubuntu | hhvm | 18.04 | 3.21.0+dfsg-2build2 | vulnerable |
| Ubuntu | hhvm | 18.04 | 3.21.0+dfsg-2build3 | vulnerable |
| Ubuntu | hhvm | 18.04 | 3.21.0+dfsg-2ubuntu2 | vulnerable |
Fixed-version evidence
OpenFactory catalog packages
No matching packages in this catalog.
Observed: