#1147519 node-compression: CVE-2026-87776

Package:
src:node-compression
Source:
src:node-compression
Submitter:
Salvatore Bonaccorso
Date:
2026-09-13 09:07:03 UTC
Severity:
normal
Tags:
#1147519#5
Date:
2026-09-12 15:16:42 UTC
From:
To:
Hi,

The following vulnerability was published for node-compression.

CVE-2026-87776[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-87776
https://www.cve.org/CVERecord?id=CVE-2026-87776
[1] https://github.com/expressjs/compression/security/advisories/GHSA-vc2v-76pw-4v95
[2] https://github.com/expressjs/compression/commit/151f63e91e1b64f8fb0b064e19321a4f28db6bff

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

#1147519#8
Date:
2026-09-13 08:49:18 UTC
From:
To:
Hello,

Bug #1147519 in node-compression reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-compression/-/commit/1cefc422c3864949b0304acecd321a5f8be1ba41

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1147519

#1147519#13
Date:
2026-09-13 08:49:20 UTC
From:
To:
Hello,

Bug #1147519 in node-compression reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-compression/-/commit/1cefc422c3864949b0304acecd321a5f8be1ba41

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1147519

#1147519#18
Date:
2026-09-13 09:05:20 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-compression, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1147519@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-compression package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 13 Sep 2026 10:47:28 +0200
Source: node-compression
Architecture: source
Version: 1.8.2+~1.8.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1147519
Changes:
 node-compression (1.8.2+~1.8.1-1) unstable; urgency=medium
 .
   * Embed typescript declarations
   * New upstream version (Closes: #1147519, CVE-2026-87776)
   * Add dependency to node-destroy
Checksums-Sha1:
 7becc8fb227f088b5324af87b916ecf2f1094b28 2725 node-compression_1.8.2+~1.8.1-1.dsc
 57cd1a5c0c585aca56124ab4daef1d254d6f5a7d 4153 node-compression_1.8.2+~1.8.1.orig-types-compression.tar.gz
 a4f1d9329bff97031d257181a85427daca2d26d6 19427 node-compression_1.8.2+~1.8.1.orig.tar.gz
 0eeb3b4c032fc615f666415708fac0ef004902e6 3392 node-compression_1.8.2+~1.8.1-1.debian.tar.xz
Checksums-Sha256:
 8c30c044bd578aef5b2b348ed757dceb0a3fc5878aa6460bd28143bbb0c1c482 2725 node-compression_1.8.2+~1.8.1-1.dsc
 f3d492097db3b97a4bfd9bfcc2ac0a9c9aa66748bd0fa7509e795e9d7219724b 4153 node-compression_1.8.2+~1.8.1.orig-types-compression.tar.gz
 69c63dbe95209fe1cac1ada568f3d45dd9ffa21f39019c2fc08631ca987dd321 19427 node-compression_1.8.2+~1.8.1.orig.tar.gz
 3a33bb5d94b63c0f55a9149b4857108779b9e9c106865a2378e2d69da85f43f4 3392 node-compression_1.8.2+~1.8.1-1.debian.tar.xz
Files:
 1d770f9fa766fede3dc4a8667557a824 2725 javascript optional node-compression_1.8.2+~1.8.1-1.dsc
 9fbacb9b625f71f350a41b4dbf4ee731 4153 javascript optional node-compression_1.8.2+~1.8.1.orig-types-compression.tar.gz
 0bda0b31ff7769117e72918d591063d9 19427 javascript optional node-compression_1.8.2+~1.8.1.orig.tar.gz
 3b736d81a158debe9e2d527956bb2afa 3392 javascript optional node-compression_1.8.2+~1.8.1-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqmY3cACgkQ9tdMp8mZ
7unllQ/8CoGhk/NsqxwqsBXRc/CXfR+1Sob7ZuIMo4qxaWq1Q1fzWN4YS1ue45SJ
6+SZozIlF0WAOsk6KIVEYPq8rwfGF9gSdrnRIV0GOz68v9R6Q3VuD45OwtnZmfiC
dt7vSCrHqsah+epmjPjn5S9I/mq8cjtDbTQS0833F1CU7Ux+CDf2uHizisbVcytU
NS1sUzpKqicOxw78LqXqH6BiKQBSpa1gyT4h+0eOwuPu0FfQJye2kAvZi21bOMcz
Cff9BJhB+u+6SRFvRzv6eS4F5n6blOWMfWdVp/Ky3wxSdxHJdRZHFF4hJHJYL5ob
sVUqhWRQvTaumlYraklwLCu9B7AOzvkFxPen8Bp8BlHz8BdW1oG8f0MC1DwLNERc
sc6R5QLs1TY6U6I7FFQboBLqwuPC4p5xxTKxbCGOH8rUzgYdk+jYsqnc7ksSdT3O
fcFbsqfktR2/O5v8NlmzXxorJZ/yNPF8vCJNN2a5A5SeihKBe7ny1OhURd2G5Sse
8CoJpv9BhbMqZXy7jleR+aBzrHXrEnP35HG//5UilUSQW55hIMj6OJdCc/RhPQpz
BmJWGp+/Gz4VaJBs5JAUwoYVDJ0IyQ8+kLcdMxPEn2A547JD4sJJTyHTCOEHCo5k
mvRI4Ryte1quuvzki7GHJftE+ecWyztYcMuc8bmlIKVNXGlkeG4=
=KBRW
-----END PGP SIGNATURE-----