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.
Casky was already ahead
This CVE exploits attack patterns that Casky's 0matched skills already investigate — long before this vulnerability was disclosed. Claude's reasoning model maps these techniques to MITRE ATT&CK, so practitioners who ran these skills have already seen the threat behaviour in their findings.
The compression middleware for Node.js and Express versions before 1.8.2 contains a critical memory leak vulnerability where zlib streams fail to be properly destroyed when clients disconnect during compressed response transmission. This allows remote, unauthenticated attackers to exhaust server memory by repeatedly initiating requests and disconnecting prematurely, ultimately causing denial of service through server crashes. The vulnerability affects all applications using this middleware without exception, making it a widespread risk across Node.js-based web services. The root cause stems from improper resource management (CWE-401) and missing destructors (CWE-459), creating a path for attackers with network access to degrade or eliminate service availability.
While this CVE lacks direct MITRE ATT&CK technique mapping, Casky's 754 security skills leverage Claude's extended reasoning to identify the underlying attack patterns associated with resource exhaustion and denial of service campaigns. Practitioners using Casky would observe findings related to Resource Hijacking and Service Degradation patterns, detecting anomalous connection abort sequences, memory growth correlations with failed compression operations, and statistical clustering of incomplete HTTP streams. The platform would highlight suspicious patterns such as high rates of early disconnections from single or distributed sources, zlib memory allocation spikes in process monitoring data, and failed response compression events—allowing security teams to distinguish legitimate network issues from coordinated exploitation attempts and implement targeted mitigation before complete system failure occurs.
Composite risk scoring from EPSS, CISA KEV, Shodan, and GreyNoise — 21 security APIs correlated into a single Casky Risk Score. Coming in Casky Pro. Join early access →
Casky has 0 skills that investigate the attack patterns behind CVE-2026-87776. Run one and get CVSS-scored findings in 3 minutes.
Run the skill that detects this →© 2026 Casky.AI, Inc. · AI Security Investigation