Bug 2588741 (CVE-2026-142449) - CVE-2026-142449 io.netty/netty-codec-http: Netty: HTTP/1.0 duplicate Content-Length still bypasses the CVE-2019-20445 patch
Summary: CVE-2026-142449 io.netty/netty-codec-http: Netty: HTTP/1.0 duplicate Content-...
Keywords:
Status: NEW
Alias: CVE-2026-142449
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-02 16:50 UTC by OSIDB Bzimport
Modified: 2026-12-02 17:38 UTC (History)
94 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-02 16:50:12 UTC
Netty's HttpObjectDecoder in netty-codec-http, the decoder behind HttpServerCodec and HttpRequestDecoder, does not reject duplicate Content-Length headers when the request line declares HTTP/1.0 or earlier. The duplicate-header check added for CVE-2019-20445 is skipped for these versions, so only the first Content-Length value is used and later ones are silently ignored. The same headers on an HTTP/1.1 request are rejected under the default configuration (allowDuplicateContentLengths=false). This is an incomplete fix for CVE-2019-20445.

If the first Content-Length value is 0, the decoder treats the message as having no body and completes it immediately. Any remaining bytes that the sender or an upstream proxy considers part of that request's body are then parsed as a separate, second HTTP request on the same connection. An unauthenticated network client can trigger this at the codec layer, before any application authentication.

The result is HTTP request smuggling. Depending on the deployment, this can allow access-control bypass of paths a front-end proxy would not otherwise expose, cache poisoning, and injection of attacker-controlled requests and headers. Exploitation requires a front-end proxy that forwards multiple Content-Length headers without normalizing them. HTTP/1.1, HTTP/2 and HTTP/3 handling is not affected by this bypass.

Affected are users of netty-codec-http that accept HTTP traffic with HttpServerCodec or HttpRequestDecoder, in versions up to and including 4.1.138.Final and from 4.2.0.Final through 4.2.18.Final, with the default configuration. The issue is fixed in 4.1.139.Final and 4.2.19.Final.

Affected versions: >= 4.2.0.Final, <= 4.2.18.Final; <=4.1.138.Final
Patched versions: 4.2.19.Final; 4.1.139.Final
CVSS: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N (6.3)
CWE: CWE-444
Upstream advisory: https://github.com/netty/netty/security/advisories/GHSA-vwgc-hvc9-2j59
CVE requested by the Netty Project via PSIRTSUPT-32166.


Note You need to log in before you can comment on or make changes to this bug.