Skip to content
CVE Tracker
Back

CVE-2018-6345

The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large. The…

Critical9.8EPSS 1.7%
Published
Updated
Reserved
Assigned by
facebook

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

Scores

CVSS scores of CVE-2018-6345, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
1.7% · top 22% of all CVEs (3 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.

Weakness

Affected products

  • Facebook · HHVM

    • affected 3.30.2
    • affected 3.30.0 – < unspecified
    • affected 3.27.6
    • affected unspecified – < 3.27.6

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Record last updated .