Skip to main content
VulnerabilityPublished Updated

CVE-2026-56017: Libjavascript minifier xs perl · JavaScript::Minifier::XS versions before 0.16 for Perl crash with a

Affects libjavascript-minifier-xs-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-56017· High 7.5

Not known to be exploited · CVSS 7.5 High.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=stonkingOther threatsAffected
  • =0.15-1build6
  • =0.16-1
  • =0.16-1build1
Fixed in–
Ubuntu 26.04 LTSlibjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=resoluteOther threatsAffected
  • =0.15-1build6
Fixed in–
Ubuntu 25.10libjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=questingOther threatsAffected
  • =0.15-1build6
Fixed in–
Ubuntu 24.04 LTSlibjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=nobleOther threatsAffected
  • 0.15-1build2 – 0.15-1build5
4 affected builds
Fixed in–
Ubuntu 22.04 LTSlibjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=jammyOther threatsAffected
  • =0.13-1
  • =0.15-1
  • =0.15-1build1
Fixed in–
Ubuntu 20.04 LTSlibjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=focalOther threatsAffected
  • =0.11-1build4
  • =0.11-1build5
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…