CVE-2018-6345

Critical

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

SeverityCritical
CVSS9.8
Exploit probability—
ProductFacebook Hhvm
PublishedJan 15, 2019
First seenJan 15, 2019
Weakness typeCWE-122CWE-122

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
facebook hhvmv ≤ 3.27.5, 3.28.0 ≤ v ≤ 3.30.1—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.