{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-6345","published":"2019-01-15T22:29:00.250000Z","last_modified":"2026-06-17T02:01:42.760000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-122","CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*","part":"a","vendor":"facebook","product":"hhvm","version_end_including":"3.27.5"},{"criteria":"cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*","part":"a","vendor":"facebook","product":"hhvm","version_start_including":"3.28.0","version_end_including":"3.30.1"}],"cpes_truncated":false,"vendors":["facebook"],"products":["facebook/hhvm"],"epss":{"score":0.01748,"percentile":0.78292,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2018-6345/","html_en":"/en/cve/CVE-2018-6345/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-6345","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-6345"},"untrusted":{"vendor_name":"Facebook","product_name":"Hhvm","desc_en":"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":[{"untrusted_vendor":"Facebook","untrusted_product":"HHVM"}],"references":[{"url":"https://github.com/facebook/hhvm/commit/190ffdf6c8b1ec443be202c7d69e63a7e3da25e3","tags":["Patch","Third Party Advisory"]},{"url":"https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html","tags":["Release Notes","Vendor Advisory"]}]}}