Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-56017

published high CVSS 3.1 · 7.5

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

Published
29 Jun 2026, 19:38:14 UTC
Updated
29 Jun 2026, 22:24:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
GTERMARS — JavaScript-Minifier-XSJavaScript::Minifier::XS · 0 to < 0.16 · Other versions: unaffected Affected Not stated CPANSec
Alpine Linux edge perl-javascript-minifier-xs Fixed 0.16-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed perl-JavaScript-Minifier-XSaarch64 Advisory build 0.160.0-1.1 OPENSUSE-SU-2026:11158-1
Alpine Linux v3.24 perl-javascript-minifier-xs Fixed 0.16-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed perl-JavaScript-Minifier-XSppc64le Advisory build 0.160.0-1.1 OPENSUSE-SU-2026:11158-1
SUSE / openSUSE openSUSE-Tumbleweed perl-JavaScript-Minifier-XSs390x Advisory build 0.160.0-1.1 OPENSUSE-SU-2026:11158-1
SUSE / openSUSE openSUSE-Tumbleweed perl-JavaScript-Minifier-XSx86_64 Advisory build 0.160.0-1.1 OPENSUSE-SU-2026:11158-1

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.

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
GTERMARS JavaScript::Minifier::XS 0 to < 0.16 (affected · custom)Default: unaffected CPANSec · cna

Weaknesses

2
  • CWE-476 CWE-476 NULL Pointer Dereference (CPANSec · cna)
  • CWE-125 CWE-125 Out-of-bounds Read (CPANSec · cna)

References

2

Provider assertions

3

CPANSec · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
47407cf1b50badff0ba7c1120a41a35ef20b7de451ab41255f40bad4c2e2f0f0
Ingested
23 Sep 2026, 09:21:01 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected