Alpine: multiple perl-javascript-minifier-xs packages: security update to 0.16-r0

high Tenable Self-Hosted Container Security Plugin ID 483040

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- 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. (CVE-2026-56017)

- JavaScript::Minifier::XS versions before 0.16 for Perl leak memory on every call to minify(), allowing
unbounded memory growth. In JsMinify (XS.xs) the cleanup frees only the NodeSet structures and never the
per-token contents buffers allocated in JsSetNodeContents; JsDiscardNode unlinks nodes without freeing
their contents. Each token's contents buffer is therefore leaked on every call, and the two early returns
taken when the node list is empty leak the whole NodeSet. A long-lived process that minifies repeatedly,
such as an asset pipeline or a server-side minifier endpoint, grows in memory without bound until it
exhausts available memory and is killed, causing denial of service. (CVE-2026-56018)

Solution

Update the perl-javascript-minifier-xs library and its related packages to version 0.16-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-56017

https://security.alpinelinux.org/vuln/CVE-2026-56018

Plugin Details

Severity: High

ID: 483040

Version: Revision 1.1

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.75

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-56018

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 6/29/2026

Reference Information

CVE: CVE-2026-56017, CVE-2026-56018