> CVE-2026-56017

« BACK_TO_HOME
PUBLISHED
2026-06-29 20:17
MODIFIED
2026-06-29 20:17
EPSS (Prob. Exploit)
0.49%
Top 58.0%
DATA SOURCES:
NVD 🔗 2026-06-29 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 OSV 🔗 2026-11-02

> 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_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> WEAKNESSES

CWE-125 CWE-476

> CWE DETAILED DESCRIPTIONS

CWE-125: Out-of-bounds Read - The product reads data past the end, or before the beginning, of the intended buffer. | CWE-476: NULL Pointer Dereference - The product dereferences a pointer that it expects to be valid but is NULL.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
20 versions affected

> HISTORIQUE DES MODIFICATIONS

Première apparition
29/06/2026 20:17
Source: NVD
📊 ENRICHISSEMENT 01/07/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-125: Out-of-bounds Read - The product reads data past the end, or before the beginning, of the intended buffer. | CWE-476: NULL Pointer Dereference - The product dereferences a pointer that it exp...
Total des modifications: 1 Dernière mise à jour: 4 months ago

> REFERENCES

https://metacpan.org/release/GTERMARS/JavaScript-Minifier-XS-0.16/changes
« BACK_TO_HOME