{"id":"CVE-2026-56017","published":"2026-06-29T19:38:14Z","modified":"2026-06-29T22:24:35Z","title":"JavaScript::Minifier::XS versions before 0.16 for Perl crash with a NULL pointer dereference when the first meaningful…","vendor":"GTERMARS","product":"JavaScript::Minifier::XS","tier":"tail","description":{"text":"JavaScript::Minifier::XS versions before 0.16 for Perl crash with a NULL pointer dereference when the first meaningful token of the input is a slash.\n\nThe regexp versus division disambiguator in JsTokenizeString (XS.xs) inspects the previous token's last byte to choose between a regexp literal and a division operator. When a slash is the first meaningful token, with the start of input or only whitespace and comments before it, there is no valid preceding token: the walk back over whitespace and comment nodes runs off the head of the node list to NULL, and the byte lookup reads through a NULL contents pointer at an underflowed length index. The following identifier check dereferences the same NULL pointer.\n\nThe crash is reachable through the public minify() API, so input as small as a single slash byte crashes the calling process. A service that minifies untrusted or third-party JavaScript can be crashed by a remote request, causing denial of service.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00488,"percentile":0.42899,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://metacpan.org/release/GTERMARS/JavaScript-Minifier-XS-0.16/changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/29/16","tags":[]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":8.58},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gtermars","affectedVersions":[{"vendor":"GTERMARS","product":"JavaScript::Minifier::XS","versions":["< 0.16"]}],"solutions":{"items":["Upgrade to JavaScript::Minifier::XS version 0.16 or later."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-29T20:54:26.731930Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-40181","exploited":false,"provenance":"source"}}