Bug 2588741 (CVE-2026-142449)

Summary: CVE-2026-142449 io.netty/netty-codec-http: Netty: HTTP/1.0 duplicate Content-Length still bypasses the CVE-2019-20445 patch
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ant, anujha, aschwart, asoldano, asyoung, aszczucz, bbaranow, bmaxwell, boliveir, bstansbe, ccranfor, cescoffi, chfoley, cmah, csuconic, dbruscin, dhanak, dlofthou, drichtar, drosa, dsimansk, ehelms, ewittman, fmariani, fmongiar, gmalinko, gsmet, gtanzill, gtully, istudens, ivassile, iweiss, janstey, jbaesner, jbuscemi, jkrystof, jmartisk, jnethert, jpasqual, jpechane, jsherman, jturenov, juwatts, jwon, kaycoth, kingland, kvanderr, lblicha, manderse, mcarlett, mhulan, mnovotny, mosmerov, mposolda, msvehla, nipatil, nwallace, ogajduse, olubyans, osousa, ozzy, pantinor, pberan, pesilva, pjindal, pmackay, prichard, rchan, rgemmell, rgodfrey, rguimara, rkubis, rmartinc, rstancel, rstepani, sausingh, sbiarozk, sdawley, smallamp, ssilvert, sthirugn, sthorger, swoodman, tbish, tcunning, thjenkin, tlavocat, tmielke, tzimanyi, varjain, vdosoudi, vmuzikar, yfang, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in netty-codec-http. An unauthenticated remote attacker can send requests containing duplicate Content-Length headers that specify Hypertext Transfer Protocol (HTTP) version 1.0 or earlier. Due to improper header validation, the component fails to reject these duplicate headers, causing front-end proxies and back-end services to parse request boundaries inconsistently. This leads to HTTP request smuggling, which could allow an attacker to bypass access controls, poison web caches, or inject unauthorized requests.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.