CVE-2026-56018: Libjavascript minifier xs perl · JavaScript::Minifier::XS versions before 0.16 for Perl leak memory on
Affects libjavascript-minifier-xs-perlSource GCVE Database
Not known to be exploited · CVSS 7.5 High.
Data as of 24 Nov 2026, 21:16 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% 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:HExploitation evidence
Disclosed: evidence found.
CVE published 29 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10libjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibjavascript-minifier-xs-perlpkg:deb/ubuntu/libjavascript-minifier-xs-perl?arch=source&distro=focalOther threats | Affected
| 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 leak memory on every call to minify(), allowing unbounded memory growth. In JsMinify (XS.xs) the cleanup frees only the NodeSet structures and never the per-token contents buffers allocated in JsSetNodeContents; JsDiscardNode unlinks nodes without freeing their contents. Each token's contents buffer is therefore leaked on every call, and the two early returns taken when the node list is empty leak the whole NodeSet. A long-lived process that minifies repeatedly, such as an asset pipeline or a server-side minifier endpoint, grows in memory without bound until it exhausts available memory and is killed, causing denial of service.
References
- ubuntu.com/security/CVE-2026-56018 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-56018 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/41396069/ (opens in a new tab)
- github.com/bleargh45/JavaScript-Minifier-XS/issues/10 (opens in a new tab)
- metacpan.org/release/GTERMARS/JavaScript-Minifier-XS-0.16/changes (opens in a new tab)
- openwall.com/lists/oss-security/2026/06/29/17 (opens in a new tab)