CVE-2026-87776Compression memory leak
CVSS score
7.5
High
CVSS 3.1 from ce714d77-add3-4f53-aff5-83d477b104bb
Exploit probability (EPSS)
0.48%
0.48% chance of exploitation in the next 30 days, higher than 42.1% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: ce714d77-add3-4f53-aff5-83d477b104bb
How to fix it, step by step
Check whether you're affected
Find every system running Compression and compare its version with the affected versions.
Update to a fixed version
- Update Compression to 1.8.2 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| compression Compression | < 1.8.2 |
Frequently asked questions
Is CVE-2026-87776 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-87776?
CVE-2026-87776 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Compression Compression (< 1.8.2)
Is there a patch for CVE-2026-87776?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.