CVE-2018-6345

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2018-6345
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6345.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-6345
Published
2019-01-15T22:29:00Z
Modified
2024-05-30T01:55:39.230323Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The function numberformat is vulnerable to a heap overflow issue when its second argument ($decpoints) 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).

References

Affected packages

Git / github.com/facebook/hhvm

Affected ranges

Type
GIT
Repo
https://github.com/facebook/hhvm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

HPHP-2.*

HPHP-2.1.0

gcc-4.*

gcc-4.6

Other

pre-hhvm
src-hphp