High severity7.5NVD Advisory· Published Sep 11, 2026· Updated Sep 16, 2026
CVE-2026-87776
CVE-2026-87776
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
compressionnpm | < 1.8.2 | 1.8.2 |
Affected products
1- Range: <1.8.2
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-vc2v-76pw-4v95ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-87776ghsaADVISORY
- cna.openjsf.org/security-advisories.htmlnvdWEB
- github.com/expressjs/compression/commit/151f63e91e1b64f8fb0b064e19321a4f28db6bffghsaWEB
- github.com/expressjs/compression/releases/tag/v1.8.2ghsaWEB
- github.com/expressjs/compression/security/advisories/GHSA-vc2v-76pw-4v95nvdWEB
News mentions
0No linked articles in our index yet.