CVE-2018-6345 - CVE House
Back to Database
Status published Critical CVE-2018-6345

The function number_format is vulnerable to a heap overflow issue...

Vulnerability Description

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).

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2018-6345

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

HHVM
Vulnerable Versions:
3.30.2, 3.30.0, 3.27.6, unspecified

Timeline

Official Publish: January 15th, 2019
Last Modified: August 5th, 2024
Added to House: July 20th, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses (CWE)