[ CVE-2026-87776 · Published 11 Sep 2026 ]
compression vulnerable to Denial of Service via memory leak on premature response close
CVSS 7.5
EPSS <1%1 agency advisoryFix available
[ Description ]Official description
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.
[ Fixes ]Fixes and patches
- compression 1.8.2Fixed version · GitHub Advisories · npm package compression: upgrade to 1.8.2 or later (affected < 1.8.2)
[ Advisories ]Government CERT advisories
-
BSI CERT-BundWID-SEC-2026-4111
Red Hat Ansible Automation Platform: Multiple vulnerabilities Translated from German
[ Packages ]Affected open-source packages
- compression npmAffected < 1.8.2 · fixed in 1.8.2 · GHSA-vc2v-76pw-4v95