Skip to main content
← All vulnerabilities
CVE-2026-87776GHSA-VC2V-76PW-4V95

compression vulnerable to Denial of Service via memory leak on premature response close

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • compression compression

    fixed in 1.8.2

  • compressionnpm

    fixed in 1.8.2

References 2

GitHub · expressjs/compression

cna.openjsf.org