CVE-2018-6345
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| HHVM | 3.30.2 | affected | |
| HHVM | 3.30.0 < unspecified | affected | |
| HHVM | 3.27.6 | affected | |
| HHVM | unspecified < 3.27.6 | affected |
Weaknesses
- CWE-122: Heap-based Buffer Overflow (CWE-122)
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/facebook/hhvm/commit/190ffdf6c8b1ec443be202c7d69e63a7e3da25e3
- https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html
References
- https://github.com/facebook/hhvm/commit/190ffdf6c8b1ec443be202c7d69e63a7e3da25e3
- https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.