# CVE-2026-87776: compression vulnerable to Denial of Service via memory leak on premature response close

- Severity: High 7.5 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-02)
- Published: 2026-09-11T11:24:55.150Z
- Modified: 2026-10-05T23:45:07.378Z
- Also known as: GHSA-vc2v-76pw-4v95
- Weaknesses: CWE-401, CWE-459
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openjs

## 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.

(As written by CVE List.)

## Affected

- compression compression: before 1.8.2 (not affected: 1.8.2)
- compression (npm): before 1.8.2

## Every score

- openjs: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/expressjs/compression/security/advisories/GHSA-vc2v-76pw-4v95> (web)
- <https://cna.openjsf.org/security-advisories.html> (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)

## Sources

- CVE List: [CVE-2026-87776](https://www.cve.org/CVERecord?id=CVE-2026-87776), CVE Terms of Use, modified 2026-09-11
- GitHub Advisory Database: [GHSA-vc2v-76pw-4v95](https://github.com/advisories/GHSA-vc2v-76pw-4v95), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-87776](https://nvd.nist.gov/vuln/detail/CVE-2026-87776), Public domain, modified 2026-09-16

---

Page: https://cve.day/CVE-2026-87776 · Whole record: https://cve.day/CVE-2026-87776.json · Rebuilt by cve.day 2026-11-25T22:59:37.946Z
