{ "schema_version": "1.4.0", "id": "GHSA-g4fr-ffvg-p5w6", "modified": "2022-05-13T01:16:08Z", "published": "2022-05-13T01:16:08Z", "aliases": [ "CVE-2018-6345" ], "details": "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).", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6345" }, { "type": "WEB", "url": "https://github.com/facebook/hhvm/commit/190ffdf6c8b1ec443be202c7d69e63a7e3da25e3" }, { "type": "WEB", "url": "https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html" } ], "database_specific": { "cwe_ids": [ "CWE-787" ], "severity": "CRITICAL", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2019-01-15T22:29:00Z" } }