Netty HttpServerCodec response desynchronization causes response splitting

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-100666?

CVE-2026-100666 is a vulnerability classified as Inconsistent Interpretation of HTTP Requests, affecting netty (affected versions: 4.2.0.Final – < 4.2.17.Final and < 4.1.137.Final). This vulnerability is rated Medium, with a CVSS score of 6.9. Public exploit code or evidence is available for this vulnerability, but that does not confirm exploitation in the wild.

Overview

Original source data

Netty's HttpServerCodec (io.netty:netty-codec-http) in versions 4.2.0.Final through 4.2.16.Final and in versions up to and including 4.1.136.Final pairs each outbound response with an inbound request by calling pollMethod() once per response, including for 1xx informational responses. If a client pipelines an HTTP/1.1 GET carrying an Expect: 100-continue header followed by a HEAD request, the 100 Continue response consumes the queued GET method, so the subsequent 200 OK for the GET is paired with HEAD and its body is dropped, while the following 200 OK for the HEAD request is written with a body. This desynchronizes HTTP parsing on the connection: the GET entity is never delivered and the HEAD response body is interpreted as the GET body, resulting in response splitting and unsafe connection reuse. Fixed in 4.2.17.Final and 4.1.137.Final.

Affected products and scope

  • io.netty:netty-codec-http in the 4.2 branch: versions from 4.2.0.Final through 4.2.16.Final are affected; the fixed release is 4.2.17.Final.
  • 4.1 branch: versions through and including 4.1.136.Final are affected; the fixed release is 4.1.137.Final.
  • Other parallel branches, third-party packages, and integrated products are not independently established by the reviewed sources and require validation against their respective vendor records.

Technical details

The affected component is io.netty.handler.codec.http.HttpServerCodec in the io.netty:netty-codec-http module. The codec pairs each outbound response with an inbound request method by calling pollMethod() once per response, including 1xx informational responses. When one HTTP/1.1 pipeline contains a GET request with Expect: 100-continue followed by a HEAD request, the 100 Continue response changes the method pairing state; the later 200 OK for the GET is paired with HEAD and its body is removed, while the following HEAD response is written with a body. HTTP parsing on the connection then becomes desynchronized: the GET entity is not delivered, and the HEAD response body is interpreted by the client as the GET body. The advisory identifies HTTP/1.1 pipelining, HEAD in the pipeline, and a client-supplied Expect: 100-continue header as prerequisites; the precise application-level consequence depends on the response content and connection reuse.

Exploitability

The flaw is remotely reachable over the network by a client that sends HTTP/1.1 requests in the sequence described by the advisory. The supplied vector indicates that authentication and user interaction are not required, and that exploitation complexity is low. A public proof of concept is included in the Netty vendor advisory. The record does not establish exploitation in live deployments or associate the issue with a specific campaign.

Technical impact

The technical outcome is HTTP response desynchronization on the affected connection. A GET response body can be discarded because the response is processed as a HEAD response, while the following HEAD response can carry a body that the client does not expect. The client may then associate the wrong data with the preceding request, resulting in response splitting, potential information disclosure, and a socket state that is unsafe for continued pipelined reuse. The described impact is centered on the desynchronized HTTP/1.1 connection and does not indicate special privileges or code execution.

Business impact

The flaw can corrupt request-to-response association on a reused HTTP/1.1 connection. Response content may be omitted, delivered to a different request, or cause the client to interpret data from a later response as the body of an earlier response. Depending on the content returned, this can cause unintended information disclosure and disrupt further request processing on the affected socket. The reviewed evidence does not describe privilege escalation, code execution, or direct impact to unrelated connections.

Remediation

  1. Upgrade io.netty:netty-codec-http to 4.2.17.Final for deployments on the 4.2 branch, or to 4.1.137.Final for deployments on the 4.1 branch.
  2. Check both direct and transitive dependencies to confirm that the artifact actually deployed has moved to a fixed release, rather than only changing a build declaration.
  3. If an immediate upgrade is not possible, consider temporarily restricting HTTP/1.1 pipelining and reuse of connections that may receive the triggering request sequence. Treat this as an operational precaution, not as a vendor-confirmed workaround.
  4. After upgrading, test response-body handling on persistent connections, especially flows involving informational responses, GET, HEAD, and Expect: 100-continue.
  5. The reviewed advisory does not provide a separate vendor-confirmed workaround that replaces upgrading.

Detection

  1. Inventory direct and transitive dependencies to identify applications using io.netty:netty-codec-http.
  2. Locate where the application creates or configures HttpServerCodec, especially on HTTP/1.1 listeners that support pipelining and keep-alive.
  3. Review application telemetry and errors for symptoms such as a missing GET entity, an unexpected body on a HEAD response, or a client consuming content from a later response as though it belonged to the preceding request.
  4. Run a non-production integration test covering Expect: 100-continue, GET, HEAD, and connection reuse, then verify that each response body remains associated with the correct request.
  5. These symptoms are investigation leads, not confirmed indicators of compromise. The absence of matching log evidence does not prove that a deployment is safe.
Sources (19)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.