CVE Explorer
CVE-2026-56018
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 th
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-401","description":"CWE-401 Missing Release of Memory after Effective Lifetime","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b9677b10af8db9e3485e9b8288d013380e4ddaf9188d35cf228761bc6f7a85a3 · sha256:55fa4be7e45bd9b3… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b9677b10af8db9e3485e9b8288d013380e4ddaf9188d35cf228761bc6f7a85a3 · sha256:55fa4be7e45bd9b3… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"JavaScript-Minifier-XS","product":"JavaScript::Minifier::XS","programFiles":["XS.xs"],"programRoutines":[{"name":"JsMinify"}],"repo":"https://github.com/bleargh45/JavaScript-Minifier-XS","vendor":"GTERMARS","versions":[{"lessThan":"0.16","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b9677b10af8db9e3485e9b8288d013380e4ddaf9188d35cf228761bc6f7a85a3 · sha256:55fa4be7e45bd9b3… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b9677b10af8db9e3485e9b8288d013380e4ddaf9188d35cf228761bc6f7a85a3 · sha256:55fa4be7e45bd9b3… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-401","description":"CWE-401 Missing Release of Memory after Effective Lifetime","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b9677b10af8db9e3485e9b8288d013380e4ddaf9188d35cf228761bc6f7a85a3 · sha256:55fa4be7e45bd9b3… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b9677b10af8db9e3485e9b8288d013380e4ddaf9188d35cf228761bc6f7a85a3 · sha256:55fa4be7e45bd9b3… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/06/29/17"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b9677b10af8db9e3485e9b8288d013380e4ddaf9188d35cf228761bc6f7a85a3 · sha256:55fa4be7e45bd9b3… · /containers/adp/1/references/0
{"tags":["issue-tracking"],"url":"https://github.com/bleargh45/JavaScript-Minifier-XS/issues/10"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b9677b10af8db9e3485e9b8288d013380e4ddaf9188d35cf228761bc6f7a85a3 · sha256:55fa4be7e45bd9b3… · /containers/cna/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/GTERMARS/JavaScript-Minifier-XS-0.16/changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b9677b10af8db9e3485e9b8288d013380e4ddaf9188d35cf228761bc6f7a85a3 · sha256:55fa4be7e45bd9b3… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.