CVE-2026-87776
HIGH 7.5CVSS 3.1compression vulnerable to Denial of Service via memory leak on premature response close
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.
- Published
- 11 Sep 2026
- Last modified
- 5 Oct 2026
- Assigned by
- ce714d77-add3-4f53-aff5-83d477b104bb
- NVD status
- Awaiting Analysis
- Weakness
- CWE-401CWE-459
- Also known as
- GHSA-vc2v-76pw-4v95
- Sources
- NVDJSONOSV GHSA-vc2v-76pw-4v95JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | compression | < 1.8.2 | 1.8.2 |
References
- https://cna.openjsf.org/security-advisories.html · WEB
- https://github.com/expressjs/compression/security/advisories/GHSA-vc2v-76pw-4v95 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-87776 · ADVISORY
- https://github.com/expressjs/compression/commit/151f63e91e1b64f8fb0b064e19321a4f28db6bff · WEB
- https://github.com/expressjs/compression · PACKAGE
- https://github.com/expressjs/compression/releases/tag/v1.8.2 · WEB
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 11 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Oct 2026)