PT-2026-53733 · Cpan · Javascript::Minifier::Xs

Drclaw1394

+1

·

Published

2026-06-29

·

Updated

2026-06-30

·

CVE-2026-56018

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions JavaScript::Minifier::XS versions prior to 0.16
Description An issue exists where memory is leaked during every call to the minify() function. In the XS.xs component, the cleanup process only frees NodeSet structures and fails to free per-token contents buffers allocated in JsSetNodeContents. Additionally, JsDiscardNode unlinks nodes without freeing their contents. This results in unbounded memory growth for long-lived processes that perform repeated minification, such as server-side minifier endpoints or asset pipelines, potentially leading to a denial of service when available memory is exhausted.
Recommendations Update JavaScript::Minifier::XS to version 0.16 or later.

Fix

Memory Leak

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-56018

Affected Products

Javascript::Minifier::Xs