> CVE-2026-56018

« BACK_TO_HOME
PUBLISHED
2026-06-29 20:17
MODIFIED
2026-06-29 20:17
EPSS (Prob. Exploit)
0.61%
Top 50.8%
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 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.

> AFFECTED_PRODUCTS

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

> WEAKNESSES

CWE-400 CWE-401

> CWE DETAILED DESCRIPTIONS

CWE-400: Uncontrolled Resource Consumption - The product does not properly control the allocation and maintenance of a limited resource. | CWE-401: Missing Release of Memory after Effective Lifetime - The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

JavaScript::Minifier::XS versions before 0.16 for Perl leak memory on every call to minify(), allowing unbounded memory growth

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-400: Uncontrolled Resource Consumption - The product does not properly control the allocation and maintenance of a limited resource. | CWE-401: Missing Release of Memory after Effective Lifetime -...
Total des modifications: 1 Dernière mise à jour: 4 months ago

> REFERENCES

https://github.com/bleargh45/JavaScript-Minifier-XS/issues/10
https://metacpan.org/release/GTERMARS/JavaScript-Minifier-XS-0.16/changes
« BACK_TO_HOME