Uncontrolled resource consumption in GTERMARS JavaScript::Minifier::XS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA JavaScript::Minifier::XS (GTERMARS) Fixed in 0.16
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
GTERMARS JavaScript::Minifier::XS 0.16
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-40412 Out-of-bounds read in GTERMARS JavaScript::Minifier::XSPriority LOW 39
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-56018
- 2026-10-03 Alias added: GHSA-fvxv-8c37-qrc6
References
More GTERMARS vulnerabilities
- TI-2026-40412 Out-of-bounds read in GTERMARS JavaScript::Minifier::XS CVSS 3.1HIGH 7.5
- TI-2026-11516 Memory leak in GTERMARS CSS::Minifier::XS CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-56018 · CVE Program
- CVE-2026-56018 · NVD
- FIRST EPSS
- GHSA-fvxv-8c37-qrc6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-56018 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences