SecurityContext

CVE-2026-56017: JavaScript::Minifier::XS - Denial of Service

  • Cve: CVE-2026-56017
  • Name: JavaScript::Minifier::XS - Denial of Service
  • Description: 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. The 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. The 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.
  • Impact: Remote attackers can crash the minify() process causing denial of service.
  • Remediation: Update to version 0.16 or later.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00488
  • Epss percentile: 0.42834
  • Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  • Published at: 2026-06-29T20:17:39Z
  • Age in days: 148
  • Modified at: 2026-10-25T21:10:00Z
  • References total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-56017
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

References

UrlSourceTags
https://metacpan.org/release/GTERMARS/JavaScript-Minifier-XS-0.16/changesnvd
http://www.openwall.com/lists/oss-security/2026/06/29/16nvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts