Skip to content

CVE-2026-87776 (High) detected in compression-1.7.4.tgz #194

Description

@mend-bolt-for-github

CVE-2026-87776 - High Severity Vulnerability

Vulnerable Library - compression-1.7.4.tgz

Node.js compression middleware

Library home page: https://registry.npmjs.org/compression/-/compression-1.7.4.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /node_modules/compression/package.json

Dependency Hierarchy:

  • build-angular-13.0.3.tgz (Root Library)
    • webpack-dev-server-4.4.0.tgz
      • ❌ compression-1.7.4.tgz (Vulnerable Library)

Found in HEAD commit: 977ea6ccaaf2045985ee40cacd5f6d676fa1a047

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2026-09-11

URL: CVE-2026-87776

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-09-11

Fix Resolution: compression - 1.8.2,https://github.com/expressjs/compression.git - v1.8.2


Step up your Open Source Security Game with Mend here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions