CVE-2026-56018
Last modified
CVE-2026-56018 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 0.61% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| GTERMARS | JavaScript::Minifier::XS | < 0.16 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-56018?
How severe is CVE-2026-56018?
How do I fix CVE-2026-56018?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-56012Improper Neutralization of Special Elements used in an SQL C…8.5
- CVE-2026-56013Unauthenticated Insecure Direct Object References (IDOR) in …6.5
- CVE-2026-56014Unauthenticated Cross Site Scripting (XSS) in Master Slider …7.1
- CVE-2026-56015Net::IP::LPM versions through 1.10 for Perl allow a heap out…9.1
- CVE-2026-56016CGI::Session::ID::md5 versions before 4.49 for Perl generate…5.9
- CVE-2026-56017JavaScript::Minifier::XS versions before 0.16 for Perl crash…7.5
- CVE-2026-5602A vulnerability was determined in Nor2-io heim-mcp up to 0.1…5.3
- CVE-2026-56020The Webmin HTTP server (miniserv.pl) allows unauthenticated …9.2
- CVE-2026-56021Webmin allows unauthenticated attackers to read the contents…6.9
- CVE-2026-56022Webmin accepts basic authentication without session cookies …6.9
- CVE-2026-56023Customer Broken Access Control in UPI QR Code Payment Gatewa…5.4
- CVE-2026-56024Cross-Site Request Forgery (CSRF) vulnerability in Saad Iqba…6.5
Are you affected by CVE-2026-56018?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
