CVE-2026-142457

MEDIUMCVSS 5.3/10EPSS 1.87%

Last modified

CVE-2026-142457 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 1.87% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
1.87%

80.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
Red HatRed Hat Build of Apache Camel 3.33.3.SP2All versions
Red HatRed Hat build of Keycloak 26.4All versions
Red HatRed Hat build of Keycloak 26.6All versions
Red HatRed Hat JBoss Enterprise Application Platform 8.1.9.GAAll versions
Red HatRHEL-9 based Middleware ContainersAll versions
Red HatRed Hat AMQ ClientsAll versions
Red HatRed Hat build of Apache Camel for Spring Boot 4All versions
Red HatRed Hat build of Apicurio Registry 3All versions
Red HatRed Hat build of Debezium 3All versions
Red HatRed Hat Build of KeycloakAll versions
Red HatRed Hat Data Grid 8All versions
Red HatRed Hat JBoss Enterprise Application Platform 8All versions
Red HatRed Hat OpenShift AI (RHOAI)All versions
Red HatRed Hat OpenShift Dev SpacesAll versions
Red Hatstreams for Apache Kafka 3All versions

References

Timeline

Published
Last Modified
Status
Awaiting Analysis

Frequently Asked Questions

What is CVE-2026-142457?
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.
How severe is CVE-2026-142457?
CVE-2026-142457 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 1.87% probability of exploitation in the next 30 days.
How do I fix CVE-2026-142457?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142457?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST