Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-56017: CWE-476 NULL Pointer Dereference in GTERMARS JavaScript::Minifier::XS

0
Unknown
VulnerabilityCVE-2026-56017cvecve-2026-56017cwe-476cwe-125
Published: 06/29/2026 (06/29/2026, 19:38:14 UTC)
Source: CVE Database V5
Vendor/Project: GTERMARS
Product: JavaScript::Minifier::XS

Description

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. The regexp versus division disambiguator in JsTokenizeString (XS.xs) inspects the previous token's last byte to choose between a regexp literal and a division operator. When a slash is the first meaningful token, with the start of input or only whitespace and comments before it, there is no valid preceding token: the walk back over whitespace and comment nodes runs off the head of the node list to NULL, and the byte lookup reads through a NULL contents pointer at an underflowed length index. The following identifier check dereferences the same NULL pointer. The crash is reachable through the public minify() API, so input as small as a single slash byte crashes the calling process. A service that minifies untrusted or third-party JavaScript can be crashed by a remote request, causing denial of service.

Affected software

GitHub Actionsmore threats →cve
JavaScript-Minifier-XS
pkg:github/JavaScript-Minifier-XS
Affected versions
<0.16

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-06-18T11:27:09.117Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a42d3d527e9c7971972d1bd

Added to database: 06/29/2026, 20:21:41 UTC

Last updated: 06/29/2026, 20:21:41 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses