CVE-2018-6345Facebook Hhvm
Critical 9.8 No auth needed
Follow: this CVE · Facebook · Facebook Hhvm We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Jan 15, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Hhvm.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hhvm | ≤ 3.27.5 | |
| hhvm | ≥ 3.28.0 ≤ 3.30.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- hhvm.com Release Notes Vendor Advisory