Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilityproof-of-concept-release

Perl Minifier Modules Patched for DoS and Memory Leak Flaws

Vulnerability Disclosure · 5 sources · Updated 5mo ago · First seen Jun 29, 2026

Perl Minifier Modules Patched for DoS and Memory Leak Flaws

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
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Jun 28, 2026 – Jun 29, 2026
  1. Jun 29, 20265mo ago

    CVE-2026-13593 disclosed for CSS::Minifier::XS

    A security notice disclosed CVE-2026-13593 affecting CSS::Minifier::XS versions before 0.14 for Perl. The flaw is a memory leak in minify() when the entire document is removed during minification, and users were advised to upgrade to version 0.14 or later.

    oss-sec: CVE-2026-13593: CSS::Minifier::XS versions before 0.14 for Perl have a memory leak when the entire document is minified away
  2. Jun 29, 20265mo ago

    CVE-2026-56018 disclosed for JavaScript::Minifier::XS

    A security notice disclosed CVE-2026-56018 affecting JavaScript::Minifier::XS versions before 0.16 for Perl. The bug causes a memory leak on every call to minify(), enabling unbounded memory growth in long-lived processes, and users were advised to upgrade to version 0.16 or later.

    oss-sec: CVE-2026-56018: JavaScript::Minifier::XS versions before 0.16 for Perl leak memory on every call to minify(), allowing unbounded memory growth
  3. Jun 29, 20265mo ago

    CVE-2026-56017 disclosed for JavaScript::Minifier::XS

    A security notice disclosed CVE-2026-56017 affecting JavaScript::Minifier::XS versions before 0.16 for Perl. The flaw can crash the calling process when the first meaningful token of input is a slash, and users were advised to upgrade to version 0.16 or later.

    oss-sec: CVE-2026-56017: 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
  4. Jun 28, 20265mo ago

    JavaScript::Minifier::XS 0.16 released with two security fixes

    On 2026-06-28, JavaScript::Minifier::XS version 0.16 was released. The release fixes CVE-2026-56017, a segfault/NULL pointer dereference issue in minify(), and CVE-2026-56018, a memory leak in minify().

    Changes - metacpan.org
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.