CVE-2026-87776
compression vulnerable to Denial of Service via memory leak on premature response close
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-401 CWE-459 |
| Vendor | compression |
| Product | compression |
| Published | Sep 11, 2026 |
| Last Updated | Sep 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for compression compression
Be the first to know when new high vulnerabilities affecting compression compression are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
compression / compression
0 < 1.8.2
References
Credits
bjohansebas UlisesGascon Phillip9587 KKamJi98