Perl Minifier Modules Patched for DoS and Memory Leak Flaws
Vulnerability Disclosure · 5 sources · Updated 5mo ago · First seen Jun 29, 2026

Security disclosures identified three vulnerabilities in widely used Perl minifier modules, including two denial-of-service flaws in JavaScript::Minifier::XS and a memory leak in CSS::Minifier::XS. CVE-2026-56017 affects JavaScript::Minifier::XS versions before 0.16 and can crash a calling process when the first meaningful token in input is a slash, triggering a NULL pointer dereference and out-of-bounds read through the public minify() API. CVE-2026-56018 also affects versions before 0.16, causing a memory leak on every minify() call that can drive unbounded memory growth in long-lived services that process untrusted or third-party JavaScript.
Why it matters
Impact assessment
These flaws affect Perl applications and services that use JavaScript::Minifier::XS or CSS::Minifier::XS, especially web services, asset pipelines, build systems, and server-side minification endpoints that process untrusted or third-party content. The most immediate risk is operational disruption: CVE-2026-56017 can crash a process with minimal input, while CVE-2026-56018 and CVE-2026-13593 can drive memory exhaustion in long-lived processes.
The exposure is likely broad across environments that embed these CPAN modules, but exploitation is opportunistic rather than targeted based on the available reporting. The story does not cite confirmed in-the-wild exploitation, data theft, or privilege escalation; impact is centered on denial of service, service instability, and potential downstream availability and reputational issues.
Affected populations
- Perl application owners using JavaScript::Minifier::XS before 0.16
- Perl application owners using CSS::Minifier::XS before 0.14
- Organizations operating server-side minification endpoints
- CI/CD and asset pipeline operators that repeatedly minify JavaScript or CSS
Severity and business effect
- CVE-2026-56017 enables process crash via the public minify() API
- CVE-2026-56018 causes memory leakage on every minify() call and can lead to unbounded memory growth
- CVE-2026-13593 causes a memory leak when CSS input is entirely removed during minification
- Likely outcomes: application crashes, degraded performance, worker restarts, container or host OOM kills, and service interruption
Scope and exploitation status
- Scope is potentially widespread where these CPAN modules are embedded in production services or automation
- Highest risk is for internet-facing services that accept user-supplied JavaScript/CSS for minification
- No confirmed exploitation in the wild is stated in the referenced disclosures


