compression vulnerable to Denial of Service via memory leak on premature response close
Published Sep 11, 2026
7.5
HIGHCVSS 3.1
EPSS 0.61%
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.
Affected products
-
- Version 0StatusaffectedConstraints<1.8.2
- Version 1.8.2StatusunaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Compression | Compression | unaffected |
|
No data.
No data.
Red Hat Discovery 2
discovery/discovery-ui-rhel9:1789677459
Fixed · RHSA-2026:69289
Gatekeeper 3
gatekeeper/gatekeeper-rhel9
Not affected
Migration Toolkit for Containers
rhmtc/openshift-migration-ui-rhel8
Affected
Node HealthCheck Operator
workload-availability/node-healthcheck-must-gather-rhel9
Affected
Node HealthCheck Operator
workload-availability/node-healthcheck-operator-bundle
Affected
Node HealthCheck Operator
workload-availability/node-healthcheck-rhel9-operator
Affected
Node HealthCheck Operator
workload-availability/node-remediation-console-rhel8
Affected
OpenShift Lightspeed
openshift-lightspeed/lightspeed-agentic-console-rhel9
Affected
OpenShift Lightspeed
openshift-lightspeed/lightspeed-console-plugin-419-rhel9
Affected
OpenShift Lightspeed
openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9
Affected
OpenShift Lightspeed
openshift-lightspeed/lightspeed-console-plugin-rhel9
Affected
OpenShift Pipelines
openshift-pipelines/pipelines-console-plugin-pf5-rhel9
Affected
OpenShift Pipelines
openshift-pipelines/pipelines-console-plugin-rhel9
Affected
OpenShift Pipelines
openshift-pipelines/pipelines-hub-ui-rhel8
Affected
OpenShift Pipelines
openshift-pipelines/pipelines-hub-ui-rhel9
Affected
OpenShift Service Mesh 3
openshift-service-mesh/kiali-operator-bundle
Not affected
OpenShift Service Mesh 3
openshift-service-mesh/kiali-rhel9-operator
Not affected
Red Hat 3scale API Management Platform 2
3scale-amp2/system-rhel8
Not affected
Red Hat AMQ Broker 7
amq-broker-bin.zip
Not affected
Red Hat AMQ Broker 7
amq-broker-maven-repository.zip
Not affected
Red Hat Ansible Automation Platform 2
ansible-automation-platform-24/lightspeed-rhel8
Not affected
Red Hat Ansible Automation Platform 2
ansible-automation-platform-25/lightspeed-rhel8
Not affected
Red Hat Ansible Automation Platform 2
ansible-automation-platform-26/lightspeed-rhel9
Not affected
Red Hat Ansible Automation Platform 2
automation-controller
Will not fix
Red Hat Ansible Automation Platform 2
automation-eda-controller
Will not fix
Red Hat Ansible Automation Platform 2
automation-gateway
Affected
Red Hat Ansible Automation Platform 2
automation-platform-ui
Affected
Red Hat Build of Podman Desktop
rh-podman-desktop.git
Affected
Red Hat Ceph Storage 4
rhceph/rhceph-4-dashboard-rhel8
Fix deferred
Red Hat Data Grid 8
redhat-datagrid-maven-repository.zip
Affected
Red Hat Developer Hub
rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend
Affected
Red Hat Developer Hub
rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend
Affected
Red Hat Developer Hub
rhdh/rhdh-hub-rhel9
Affected
Red Hat Enterprise Linux 10
grafana
Affected
Red Hat Enterprise Linux 10
intel-igc
Affected
Red Hat Enterprise Linux 10
pcs
Not affected
Red Hat Enterprise Linux 8
grafana
Affected
Red Hat Enterprise Linux 8
pcs
Not affected
Red Hat Enterprise Linux 9
dotnet6.0
Not affected
Red Hat Enterprise Linux 9
dotnet7.0
Not affected
Red Hat Enterprise Linux 9
grafana
Affected
Red Hat Enterprise Linux 9
pcs
Not affected
Red Hat Enterprise Linux AI (RHEL AI) 3
rhelai3/bootc-cuda-rhel9
Affected
Red Hat Enterprise Linux AI (RHEL AI) 3
rhelai3/bootc-gaudi-rhel9
Affected
Red Hat Enterprise Linux AI (RHEL AI) 3
rhelai3/bootc-rocm-rhel9
Affected
Red Hat Enterprise Linux AI (RHEL AI) 3
rhelai3/disk-image-cuda-rhel9
Affected
Red Hat Fuse 7
compression
Will not fix
Red Hat Hardened Images
prometheus3.13
Not affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-core-bff-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-dashboard-operator-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-dashboard-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-feature-server-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-mlflow-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-mod-arch-agent-ops-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-mod-arch-automl-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-mod-arch-autorag-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-mod-arch-eval-hub-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-mod-arch-gen-ai-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-mod-arch-maas-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-mod-arch-mlflow-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-mod-arch-model-registry-rhel9
Affected
Red Hat OpenShift AI (RHOAI)
rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9
Affected
Red Hat OpenShift Container Platform 4
openshift4/ose-console
Affected
Red Hat OpenShift Container Platform 4
openshift4/ose-console-rhel9
Affected
Red Hat OpenShift GitOps
microshift-gitops
Affected
Red Hat OpenShift GitOps
openshift-gitops-argocd-cli
Affected
Red Hat Openshift Data Foundation 4
odf4/mcg-core-rhel9
Affected
Red Hat Quay 3
quay/quay-rhel8
Affected
Red Hat Trusted Artifact Signer
rhtas/rekor-search-ui-rhel9
Affected
Red Hat build of Apache Camel - HawtIO 4
rhaf-hawtio-maven-repository.zip
Affected
Red Hat build of Apache Camel for Spring Boot 4
rhaf-camel-for-springboot-maven-repository.zip
Not affected
Red Hat build of Apache Camel for Spring Boot 4
rhaf-camel-spring-boot-maven-repository.zip
Not affected
Secrets Management Console for Red Hat OpenShift
external-secrets-management/console-plugin-rhel9
Will not fix
Self-service automation portal 2
ansible-automation-platform/automation-portal
Affected
Self-service automation portal 2
ansible-automation-platform/bootc-automation-portal-rhel9
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Discovery 2 | discovery/discovery-ui-rhel9:1789677459 | Fixed | RHSA-2026:69289 |
| Gatekeeper 3 | gatekeeper/gatekeeper-rhel9 | Not affected | n/a |
| Migration Toolkit for Containers | rhmtc/openshift-migration-ui-rhel8 | Affected | n/a |
| Node HealthCheck Operator | workload-availability/node-healthcheck-must-gather-rhel9 | Affected | n/a |
| Node HealthCheck Operator | workload-availability/node-healthcheck-operator-bundle | Affected | n/a |
| Node HealthCheck Operator | workload-availability/node-healthcheck-rhel9-operator | Affected | n/a |
| Node HealthCheck Operator | workload-availability/node-remediation-console-rhel8 | Affected | n/a |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-agentic-console-rhel9 | Affected | n/a |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-419-rhel9 | Affected | n/a |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9 | Affected | n/a |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-console-plugin-rhel9 | Affected | n/a |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-pf5-rhel9 | Affected | n/a |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel9 | Affected | n/a |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Affected | n/a |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel9 | Affected | n/a |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-operator-bundle | Not affected | n/a |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-rhel9-operator | Not affected | n/a |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel8 | Not affected | n/a |
| Red Hat AMQ Broker 7 | amq-broker-bin.zip | Not affected | n/a |
| Red Hat AMQ Broker 7 | amq-broker-maven-repository.zip | Not affected | n/a |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/lightspeed-rhel8 | Not affected | n/a |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Not affected | n/a |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/lightspeed-rhel9 | Not affected | n/a |
| Red Hat Ansible Automation Platform 2 | automation-controller | Will not fix | n/a |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Will not fix | n/a |
| Red Hat Ansible Automation Platform 2 | automation-gateway | Affected | n/a |
| Red Hat Ansible Automation Platform 2 | automation-platform-ui | Affected | n/a |
| Red Hat Build of Podman Desktop | rh-podman-desktop.git | Affected | n/a |
| Red Hat Ceph Storage 4 | rhceph/rhceph-4-dashboard-rhel8 | Fix deferred | n/a |
| Red Hat Data Grid 8 | redhat-datagrid-maven-repository.zip | Affected | n/a |
| Red Hat Developer Hub | rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend | Affected | n/a |
| Red Hat Developer Hub | rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend | Affected | n/a |
| Red Hat Developer Hub | rhdh/rhdh-hub-rhel9 | Affected | n/a |
| Red Hat Enterprise Linux 10 | grafana | Affected | n/a |
| Red Hat Enterprise Linux 10 | intel-igc | Affected | n/a |
| Red Hat Enterprise Linux 10 | pcs | Not affected | n/a |
| Red Hat Enterprise Linux 8 | grafana | Affected | n/a |
| Red Hat Enterprise Linux 8 | pcs | Not affected | n/a |
| Red Hat Enterprise Linux 9 | dotnet6.0 | Not affected | n/a |
| Red Hat Enterprise Linux 9 | dotnet7.0 | Not affected | n/a |
| Red Hat Enterprise Linux 9 | grafana | Affected | n/a |
| Red Hat Enterprise Linux 9 | pcs | Not affected | n/a |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Affected | n/a |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gaudi-rhel9 | Affected | n/a |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-rocm-rhel9 | Affected | n/a |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/disk-image-cuda-rhel9 | Affected | n/a |
| Red Hat Fuse 7 | compression | Will not fix | n/a |
| Red Hat Hardened Images | prometheus3.13 | Not affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-core-bff-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-dashboard-operator-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-dashboard-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-feature-server-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mlflow-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mod-arch-agent-ops-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mod-arch-automl-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mod-arch-autorag-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mod-arch-eval-hub-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mod-arch-gen-ai-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mod-arch-maas-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mod-arch-mlflow-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mod-arch-model-registry-rhel9 | Affected | n/a |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 | Affected | n/a |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console | Affected | n/a |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console-rhel9 | Affected | n/a |
| Red Hat OpenShift GitOps | microshift-gitops | Affected | n/a |
| Red Hat OpenShift GitOps | openshift-gitops-argocd-cli | Affected | n/a |
| Red Hat Openshift Data Foundation 4 | odf4/mcg-core-rhel9 | Affected | n/a |
| Red Hat Quay 3 | quay/quay-rhel8 | Affected | n/a |
| Red Hat Trusted Artifact Signer | rhtas/rekor-search-ui-rhel9 | Affected | n/a |
| Red Hat build of Apache Camel - HawtIO 4 | rhaf-hawtio-maven-repository.zip | Affected | n/a |
| Red Hat build of Apache Camel for Spring Boot 4 | rhaf-camel-for-springboot-maven-repository.zip | Not affected | n/a |
| Red Hat build of Apache Camel for Spring Boot 4 | rhaf-camel-spring-boot-maven-repository.zip | Not affected | n/a |
| Secrets Management Console for Red Hat OpenShift | external-secrets-management/console-plugin-rhel9 | Will not fix | n/a |
| Self-service automation portal 2 | ansible-automation-platform/automation-portal | Affected | n/a |
| Self-service automation portal 2 | ansible-automation-platform/bootc-automation-portal-rhel9 | Affected | n/a |
compression
npm
Introduced 0 Fixed 1.8.2
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | compression | 0 | 1.8.2 |
Remediation
Red Hat statement
Red Hat has rated this vulnerability as Important. A remote unauthenticated attacker can cause a denial of service by repeatedly aborting connections while compressed responses are being sent, which can lead to memory exhaustion and server termination.
Red Hat mitigation
Update the compression middleware to version 1.8.2 or later. No supported workaround is currently available if the affected version cannot be updated.
References (10)
- https://access.redhat.com/security/cve/CVE-2026-87776 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2531852 Issue Tracking
- https://cna.openjsf.org/security-advisories.html
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-76072 Advisory
- https://github.com/advisories/GHSA-vc2v-76pw-4v95 Advisory
- https://github.com/expressjs/compression/commit/151f63e91e1b64f8fb0b064e19321a4f28db6bff
- https://github.com/expressjs/compression/releases/tag/v1.8.2
- https://github.com/expressjs/compression/security/advisories/GHSA-vc2v-76pw-4v95
- https://nvd.nist.gov/vuln/detail/CVE-2026-87776
- https://www.cve.org/CVERecord?id=CVE-2026-87776
Change history (0)
No recorded changes yet.