Missing Release of Memory after Effective Lifetime Affecting compression package, versions <1.8.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.36% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Release of Memory after Effective Lifetime vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-COMPRESSION-19778377
  • published14 Sept 2026
  • disclosed11 Sept 2026
  • creditKKamJi98

Introduced: 11 Sep 2026

NewCVE-2026-87776  (opens in a new tab)
CWE-401  (opens in a new tab)
CWE-459  (opens in a new tab)

How to fix?

Upgrade compression to version 1.8.2 or higher.

Overview

Affected versions of this package are vulnerable to Missing Release of Memory after Effective Lifetime via improper cleanup of the zlib compression stream when a client disconnects before the response finishes. The onResponseClose handler was absent, leaving native zlib handles unreleased whenever a connection closed mid-response. An attacker can exhaust server memory or file-descriptor resources by repeatedly opening connections and disconnecting before response completion, causing a denial of service.

CVSS Base Scores

version 4.0
version 3.1