CVE-2018-6345: Critical severity facebook hiphop virtual machine vulnerability

Published Jan 15, 2019
·
Updated

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

Affected Software

2 affected components
Facebook HHVM<=3.27.5
Facebook HHVM>=3.28.0<=3.30.1

Event History

Jan 15, 2019
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-6345?

CVE-2018-6345 is a vulnerability associated with the function number_format in Facebook HHVM, which can lead to a heap overflow issue.

2

How does CVE-2018-6345 affect Facebook HHVM?

CVE-2018-6345 affects Facebook HHVM versions 3.27.5 up to and including 3.30.1.

3

What is the severity of CVE-2018-6345?

CVE-2018-6345 has a severity rating of critical with a CVSS score of 9.8.

4

How can CVE-2018-6345 be exploited?

CVE-2018-6345 can be exploited by passing an excessively large value as the second argument ($dec_points) to the number_format function.

5

How can I fix CVE-2018-6345?

To fix CVE-2018-6345, update your version of Facebook HHVM to 3.30.2 or later, as it includes a fix for this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203