CVE-2026-87776
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
compression is a Node.js and Express compression middleware. In versions before 1.8.2, when a client aborts the connection while a compressed response is still being sent, the zlib stream created to compress that response is never destroyed, so each aborted compressed response leaks its native zlib memory. A remote unauthenticated attacker can repeatedly open requests and disconnect early, exhausting the available memory and crashing the server. All applications using compression are affected. The issue is fixed in compression 1.8.2, and users should upgrade to 1.8.2 or later.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| compression | compression | 0 < 1.8.2 | affected |
| compression | compression | 1.8.2 | unaffected |
Weaknesses
- CWE-401: CWE-401: Missing Release of Memory after Effective Lifetime
- CWE-459: CWE-459: Incomplete Cleanup
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
References
- https://github.com/expressjs/compression/security/advisories/GHSA-vc2v-76pw-4v95
- https://cna.openjsf.org/security-advisories.html
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.