CVE-2018-6345
published 2019-01-15CVE-2018-6345: The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large. The internal implementation of…
PriorityP345critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.75%
75.0th percentile
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).
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| hhvm | <= 3.27.5 | — | |
| hhvm | — | — | |
| hhvm | — | — | |
| hhvm | 3.28.0 – 3.30.1 | — | |
| hhvm | >= 3.30.0 < unspecified | unspecified | |
| hhvm | >= unspecified < 3.27.6 | 3.27.6 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-g4fr-ffvg-p5w6: The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large
ghsa_unreviewed·2022-05-13
CVE-2018-6345 [CRITICAL] CWE-787 GHSA-g4fr-ffvg-p5w6: The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large
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).
OSV
CVE-2018-6345: The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large
osv·2019-01-15·CVSS 9.8
CVE-2018-6345 [CRITICAL] CVE-2018-6345: The function number_format is vulnerable to a heap overflow issue when its second argument ($dec_points) is excessively large
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).
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2019-01-15
Published