{"id":"CVE-2026-87776","published":"2026-09-11T11:24:55Z","modified":"2026-09-11T13:36:30Z","title":"compression vulnerable to Denial of Service via memory leak on premature response close","vendor":"compression","product":"compression","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00477,"percentile":0.42142,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"},{"id":"CWE-459","name":"Incomplete Cleanup"}],"references":[{"url":"https://github.com/expressjs/compression/security/advisories/GHSA-vc2v-76pw-4v95","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":8.43},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"compression","affectedVersions":[{"vendor":"compression","product":"compression","versions":["< 1.8.2"]}],"fixedVersions":[{"vendor":"compression","product":"compression","versions":["1.8.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-11T13:30:04.865391Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"compression","vulnerableRanges":["<1.8.2"],"patched":["1.8.2"],"from":["GHSA-vc2v-76pw-4v95"],"provenance":"source"}],"summary":{"text":"The compression package, a Node.js and Express compression middleware, has a flaw in versions before 1.8.2 where the zlib stream used for a response is never destroyed if the client aborts while the compressed response is still being sent, leaking native memory on each such abort. A remote, unauthenticated attacker with network access can repeatedly send requests and disconnect early, without user interaction or special configuration, to exhaust memory and crash the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:54Z"},"euvd":{"id":"EUVD-2026-76072","exploited":false,"provenance":"source"}}