🛡️ CVE-2026-56017 on Ubuntu — libjavascript-minifier-xs-perl
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.
Distribution advisory
This page covers CVE-2026-56017 as tracked by Ubuntu, for the package libjavascript-minifier-xs-perl. No fixed version has been recorded for this distribution yet.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Weakness class
UBUNTU-CVE-2026-56017 is classified as CWE-125: Out-of-bounds Read. The code reads past the limits of a buffer, exposing adjacent memory contents or crashing the process.
Affected software
UBUNTU-CVE-2026-56017 is recorded against 1 package.
- libjavascript-minifier-xs-perl
Timeline and source
Published on 29 June 2026 and last revised on 1 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
ubuntu.com (Report)
www.cve.org (Report)
lists.security.metacpan.org (Report)
metacpan.org (Report)
www.openwall.com (Report)
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libjavascript-minifier-xs-perl | — | — |
References
Similar Threats
- Unknown DEBIAN-CVE-2026-56017
- Unknown DEBIAN-CVE-2026-56018
- Unknown UBUNTU-CVE-2026-56018
Site Security Check
Is libjavascript-minifier-xs-perl part of your stack?
UBUNTU-CVE-2026-56017 is rated CVSS 7.5 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.