Bug 2588746 (CVE-2026-142454)

Summary: CVE-2026-142454 io.netty/netty-codec-http: Netty: HTTP/1 request-line HTTP-version boundary control bytes are silently normalized
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, pdelbell, 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. A remote attacker can exploit this issue by sending HTTP (Hypertext Transfer Protocol) requests containing leading control characters in the request line. Because the component improperly trims these control characters prior to validation, malformed requests are decoded as valid traffic. This parsing difference between Netty and upstream security devices can result in HTTP request smuggling, allowing attackers to bypass security filters or manipulate request routing.
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:21 UTC
Netty's HttpRequestDecoder accepts a malformed HTTP/1 request line in which the HTTP-version token is preceded by a control byte, such as NUL. The decoder validates the version strictly, but HttpVersion.valueOf first trims the token with String.trim(). That call removes any leading or trailing characters with code points of 0x20 or below, including NUL and other C0 control characters. A token like \x00HTTP/1.1 is therefore normalized to HTTP/1.1 before the strict format check, and the request is decoded successfully as ordinary HTTP/1.1.

This creates an HTTP request parsing differential (request smuggling class). A front-end proxy, gateway, WAF or other backend that rejects or interprets such a request line differently from Netty can disagree with a Netty hop about how the request should be handled. An attacker who can get malformed request-line bytes forwarded to Netty may be able to undermine request validation or routing decisions made upstream.

Affected are users of netty-codec-http that decode HTTP/1 requests with HttpRequestDecoder, particularly where Netty sits behind another HTTP component that does not normalize or reject such bytes in the same way. Affected versions are 4.2.13.Final up to but not including 4.2.16.Final, and 4.1.132.Final and later in the 4.1 line before 4.1.136.Final. The issue is fixed in 4.2.16.Final and 4.1.136.Final.

Affected versions: >= 4.2.13.Final, < 4.2.16.Final; >= 4.1.132.Final, < 4.1.136.Final
Patched versions: 4.2.16.Final; 4.1.136.Final
CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (5.3)
CWE: CWE-444
Upstream advisory: https://github.com/netty/netty/security/advisories/GHSA-h2h2-c23p-h5f6
CVE requested by the Netty Project via PSIRTSUPT-32166.