CVE catalog

CVE-2018-6345

UBUNTU-CVE-2018-6345

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Ubuntuhhvm16.043.11.0+dfsg-1vulnerable
Ubuntuhhvm16.043.11.1+dfsg-1vulnerable
Ubuntuhhvm16.043.11.1+dfsg-1ubuntu1vulnerable
Ubuntuhhvm18.043.21.0+dfsg-2vulnerable
Ubuntuhhvm18.043.21.0+dfsg-2build1vulnerable
Ubuntuhhvm18.043.21.0+dfsg-2build2vulnerable
Ubuntuhhvm18.043.21.0+dfsg-2build3vulnerable
Ubuntuhhvm18.043.21.0+dfsg-2ubuntu2vulnerable

Fixed-version evidence

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References