Security mailing lists by PureSourceCode

CVE-2018-6345

CRITICAL 9.8CVSS 3.1

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

Published
15 Jan 2019
Last modified
17 Jun 2026
Assigned by
cve-assign@fb.com
NVD status
Modified
Weakness
CWE-122CWE-787
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD facebook hhvm
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*
<= 3.27.5
NVD facebook hhvm
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*
>= 3.28.0, <= 3.30.1

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 15 Jan 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.