Io.netty/netty-codec-http: netty: unbounded per-connection queue growth in websocketserverextensionhandler leads to denial of service
- CVE-2026-142457
- EUVD-2026-141807
Description
Show the whole descriptionHide the whole description
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Red Hat Exploit Intelligence
No versions listed
Red Hat OpenShift Serverless
No versions listed
Red Hat Red Hat AMQ Broker 7.14.2
No versions listed
Red Hat Red Hat AMQ Clients
No versions listed
Red Hat Red Hat Build of Apache Camel 3.33.3.SP2
Affected versions Fixed in from 4.1.138.Final-redhat-00001 onwards: not affected none stated Red Hat Red Hat build of Apache Camel 4 for Quarkus 3
No versions listed
Red Hat Red Hat build of Apache Camel for Spring Boot 4
No versions listed
Red Hat Red Hat build of Apicurio Registry 3
No versions listed
Red Hat Red Hat build of Debezium 3
No versions listed
Red Hat Red Hat Build of Debezium 3.6
No versions listed
Red Hat Red Hat Build of Keycloak
No versions listed
Red Hat Red Hat build of Keycloak 26.4
Affected versions Fixed in from 26.4.17-2 onwards: not affected none stated from 26.4-29 onwards: not affected none stated from 26.4-30 onwards: not affected none stated Red Hat Red Hat build of Keycloak 26.4.17
No versions listed
Red Hat Red Hat build of Keycloak 26.6
Affected versions Fixed in from 26.6.8-2 onwards: not affected none stated from 26.6-24 onwards: not affected none stated Red Hat Red Hat build of Keycloak 26.6.8
No versions listed
Red Hat Red Hat build of Quarkus
No versions listed
Red Hat Red Hat build of Quarkus 3.27.5.SP2
No versions listed
Red Hat Red Hat build of Quarkus 3.33.3.SP2
No versions listed
Red Hat Red Hat Data Grid 8
No versions listed
Red Hat Red Hat JBoss Enterprise Application Platform 8
No versions listed
Red Hat Red Hat JBoss Enterprise Application Platform 8.1.9.GA
Affected versions Fixed in from 4.1.138.Final-redhat-00001 onwards: not affected none stated Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack
No versions listed
Red Hat Red Hat OpenShift AI (RHOAI)
No versions listed
Red Hat Red Hat OpenShift Dev Spaces
No versions listed
Red Hat Red Hat Satellite 6
No versions listed
Red Hat RHEL-9 based Middleware Containers
Affected versions Fixed in from 3.3.4.r1-5 onwards: not affected none stated from 3.3.4-4 onwards: not affected none stated from 3.3.4-5 onwards: not affected none stated Red Hat streams for Apache Kafka 3
No versions listed
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.