CVE catalog

CVE-2026-87776

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 c

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.48% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-compressionsid1.8.2+~1.8.1-1fixed
Debiannode-compressionforky1.8.2+~1.8.1-1fixed
Debiannode-compressiontrixie1.7.4-3vulnerable
Debiannode-compressionbookworm1.7.4-3vulnerable
NpmcompressionNot reported1.8.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-compressionsourcesid1.8.2+~1.8.1-1not yet assignedNot reported[1147519]
Debiannode-compressionsourceforky1.8.2+~1.8.1-1not yet assignedNot reported[1147519]
Debiannode-compressionsourcetrixie(unfixed)not yet assignedNot reported[1147519]
Debiannode-compressionsourcebookworm(unfixed)not yet assignedNot reported[1147519]
NpmcompressionnpmNot reported1.8.2Not reportedGHSA-VC2V-76PW-4V95Not reported

[Debian bug #1147519]

Notes

[trixie] node-compression: Minor issue [bookworm] node-compression: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 1.7.4-3 · all · bookworm

      Affected

      nvd · node-compression · debian · bookworm; nvd · node-compression · debian · 12

    • 1.7.4-3 · all · bookworm

      Affected

      nvd · node-compression · debian · bookworm; nvd · node-compression · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 1.7.4-3 · all · trixie

      Affected

      nvd · node-compression · debian · 13

    • 1.7.4-3 · all · trixie

      Affected

      nvd · node-compression · debian · 13

Observed:

References