Skip to main content
Mallory
HighVulnerability

CVE-2026-56017: NULL pointer dereference in JavaScript::Minifier::XS minify()

Published Jun 29, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS0.49%35th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-56017CWE-476 · NULL Pointer Dereference

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 in XS.xs. When the first meaningful token of the JavaScript input is a slash, and only start-of-input, whitespace, or comments precede it, the tokenizer attempts to inspect the previous token even though no valid preceding token exists. The backward walk over whitespace and comment nodes can run past the head of the node list to NULL, after which the code performs a byte lookup through a NULL contents pointer at an underflowed length index. A subsequent identifier check dereferences the same NULL pointer. The bug is reachable through the public minify() API, and input as small as a single slash byte can crash the calling Perl process.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

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

Successful exploitation causes the calling process to crash, typically as a Perl segmentation fault, resulting in denial of service. In deployments where a service minifies untrusted or third-party JavaScript, a remote attacker can submit crafted input and reliably terminate the process handling the request.

Mitigation

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

If immediate upgrade is not possible, avoid passing untrusted or third-party JavaScript to JavaScript::Minifier::XS minify(). As a temporary risk-reduction measure, pre-validate or reject inputs whose first meaningful token is a slash, including cases where only whitespace or comments precede it. Process isolation and crash containment may reduce service impact but do not fix the underlying flaw.

Remediation

Patch, then assume compromise.

Upgrade JavaScript::Minifier::XS to version 0.16 or later. Version 0.16 contains the fix for CVE-2026-56017.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-56017 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-56017 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-56017?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-56017.
Is there a patch for CVE-2026-56017?
Upgrade JavaScript::Minifier::XS to version 0.16 or later. Version 0.16 contains the fix for CVE-2026-56017.
How severe is CVE-2026-56017?
CVE-2026-56017 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 0.49% (35th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

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

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

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, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity6Community discussion across Reddit, Mastodon, and other social sources.