Intel

AIKIDO-2026-509192

compression is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-87776 Published 2 days ago

75

High Risk

This Affects:

JScompression
1.0.0 - 1.8.1
Fixed in 1.8.2
Are you affected? Scan for Free

TL;DR

The compression middleware creates a native zlib stream to compress each response but never destroys it when the response closes early. When a client aborts the connection mid-response, the stream's native memory is never reclaimed, and a race also leaves streams created after the close event unreleased. Repeated aborted requests to any compressed endpoint accumulate leaked zlib memory until the server runs out of memory and crashes. The fix registers a response close handler that destroys the stream and drops any stream created after close.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

compression is vulnerable to Denial of Service (DoS) in versions 1.0.0 - 1.8.1.

How to fix this

Upgrade the compression library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform