# CVE-2026-142457: Io.netty/netty-codec-http: netty: unbounded per-connection queue growth in websocketserverextensionhandler leads to denial of service

Status: published. Published: 2026-12-02. Updated: 2026-12-02.

Netty's WebSocketServerExtensionHandler keeps a per-connection queue of negotiated WebSocket extensions (validExtensions). An entry is added for every inbound HttpRequest and removed only when the application writes an HttpResponse. The queue has no size limit. A remote, unauthenticated client can use HTTP/1.1 pipelining to send requests faster than the application responds, so the queue grows without bound for the life of the connection.

The queue grows on the plain HTTP port for any well-formed HTTP request, not only WebSocket upgrade requests. No WebSocket upgrade has to succeed and no authentication is needed. The handler removes itself from the pipeline only after a successful 101 Switching Protocols response, so a client that never completes an upgrade keeps the handler and its queue alive. Requests that offer a valid permessage-deflate extension cost roughly 100 bytes of heap each.

The impact is denial of service. Memory is reclaimed only when the connection closes, so a client that keeps connections open and keeps pipelining can exhaust the JVM heap and cause an OutOfMemoryError. Spreading the traffic across many connections multiplies the effect. Because the requests are syntactically valid HTTP, upstream filters are unlikely to distinguish them from legitimate pipelining.

Affected are users of netty-codec-http that use WebSocketServerExtensionHandler or its subclasses, including WebSocketServerCompressionHandler, which is the standard way to enable permessage-deflate. The affected versions are 4.1.88.Final through 4.1.137.Final and 4.2.0.Final through 4.2.17.Final. The issue is fixed in 4.1.138.Final and 4.2.18.Final.

## Remediation

- workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. (source: CNA: redhat)

## Affected products and versions

- Red Hat / Exploit Intelligence (exploit-intelligence/agent-client-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / OpenShift Serverless (openshift-serverless-1/kn-ekb-dispatcher-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / OpenShift Serverless (openshift-serverless-1/kn-ekb-receiver-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / OpenShift Serverless (openshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / OpenShift Serverless (openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / OpenShift Serverless (openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / OpenShift Serverless (openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / OpenShift Serverless (openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / OpenShift Serverless (openshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / OpenShift Serverless (openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / OpenShift Serverless (openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat AMQ Broker 7 (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat AMQ Clients (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat build of Apache Camel 4 for Quarkus 3 (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat build of Apache Camel for Spring Boot 4 (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat build of Apicurio Registry 3 (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat build of Debezium 3 (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Build of Keycloak (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Build of Keycloak (rhbk/keycloak-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Build of Keycloak (rhbk/keycloak-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat build of Quarkus (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Data Grid 8 (datagrid/datagrid-8-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Data Grid 8 (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat JBoss Enterprise Application Platform 8 (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat JBoss Enterprise Application Platform Expansion Pack (netty-codec-http): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-modelmesh-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-spark-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-th-torch-cpu-py312-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-th-torch-cuda-py312-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-trustyai-service-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Dev Spaces (devspaces/jetbrains-ide-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Dev Spaces (devspaces/multicluster-redirector-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Dev Spaces (devspaces/openvsx-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Dev Spaces (devspaces/pluginregistry-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Dev Spaces (devspaces/server-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Satellite 6 (candlepin): Version range not reported. Source: CNA: redhat
- Red Hat / streams for Apache Kafka 3 (amq-streams/bridge-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / streams for Apache Kafka 3 (amq-streams/drain-cleaner-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / streams for Apache Kafka 3 (amq-streams/kafka-41-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / streams for Apache Kafka 3 (amq-streams/kafka-42-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / streams for Apache Kafka 3 (amq-streams/proxy-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / streams for Apache Kafka 3 (amq-streams/proxy-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / streams for Apache Kafka 3 (amq-streams/strimzi-operator-bundle): Version range not reported. Source: CNA: redhat
- Red Hat / streams for Apache Kafka 3 (amq-streams/strimzi-rhel9-operator): Version range not reported. Source: CNA: redhat
- Red Hat / streams for Apache Kafka 3 (netty-codec-http): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L; source: CNA: redhat

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-770

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/security/cve/CVE-2026-142457 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2588757 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2026-142457; retrieved 2026-12-02; source updated 2026-12-02

Revision: 125ce6f4818a14c53a1ee0a11be5de5f2427ed2147a616305b9a919277e8a45d

Canonical: https://y2.dev/cve/CVE-2026-142457

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.