Bug 2588746 (CVE-2026-142454) - CVE-2026-142454 io.netty/netty-codec-http: Netty: HTTP/1 request-line HTTP-version boundary control bytes are silently normalized
Summary: CVE-2026-142454 io.netty/netty-codec-http: Netty: HTTP/1 request-line HTTP-ve...
Keywords:
Status: NEW
Alias: CVE-2026-142454
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:43 UTC (History)
95 users (show)

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


Attachments (Terms of Use)

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.


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