// Security Advisory Triage
compression npm package memory leak DoS patched in 1.8.2
GitHub advisories — npm · published 2026-10-06 18:25 UTC
WHAT CHANGEDGitHub published CVE-2026-87776 on 5 October 2026, a high-severity memory leak in the compression npm package that causes denial of service when responses close prematurely. The vulnerability is patched in version 1.8.2.
WHY IT MATTERScompression is a standard middleware in Node.js web frameworks. An attacker who can trigger premature response closes can exhaust server memory, taking down production services. This is exploitable in typical Express and Koa deployments.
WHAT TO DOGrep your package.json and lock files for "compression": check if you are running a version below 1.8.2. If so, update to 1.8.2 or later in this patch cycle.
Model-reported confidence 88% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-vc2v-76pw-4v95 +summary: compression vulnerable to Denial of Service via memory leak on premature response close +severity: high +published_at: 2026-10-05T23:28:01Z +cve_id: CVE-2026-87776 +vulnerabilities[].package.name: compression +vulnerabilities[].first_patched_version: 1.8.2
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | compression is a core Node.js middleware in most service dependency trees; memory leak DoS is actionable. |
| signals | npm package in typical dependency tree · memory leak DoS in widely-used middleware · high severity rating · patched version available (1.8.2) · compression is standard Node.js web framework dependency |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |