Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
Unrated

NULL pointer dereference DoS in JavaScript::Minifier::XS minify()

IdentifiersCVE-2026-56017CWE-476

CVE-2026-56017 is a denial-of-service vulnerability in JavaScript::Minifier::XS for Perl affecting versions before 0.16. The flaw is in the regexp-versus-division disambiguation logic in JsTokenizeString within XS.xs. When the first meaningful token in the JavaScript input is a slash, and only whitespace or comments precede it, the tokenizer attempts to inspect a previous token that does not exist. The backward walk over whitespace/comment nodes can run past the head of the token list to NULL, after which the code performs a byte lookup through a NULL contents pointer using an underflowed length index. A subsequent identifier check dereferences the same NULL pointer. The bug is reachable via the public minify() API, and even input as small as a single slash byte can crash the calling Perl process.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation causes the calling Perl process to crash, typically as a segmentation fault, resulting in denial of service. In deployments where a service minifies untrusted or third-party JavaScript, a remote attacker can trigger the crash by submitting crafted input, potentially causing repeated service interruption. The provided content does not establish code execution; the documented impact is process termination and service unavailability.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, avoid passing untrusted or third-party JavaScript into JavaScript::Minifier::XS minify(). As a temporary defensive measure, pre-validate or reject inputs whose first meaningful token is a slash, including cases where only whitespace or comments precede that slash. Isolating the minification function in a separate process can also reduce service-wide impact from crashes, but the primary fix is upgrading to 0.16 or later.

Remediation

Patch, then assume compromise.

Upgrade JavaScript::Minifier::XS to version 0.16 or later. Version 0.16 is specifically identified as fixing CVE-2026-56017.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

ACTIVITY FEED

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity6

Community discussion across Reddit, Mastodon, and other social sources.