REDHAT-BUG-2588746: Medium severity maven/io.netty/netty-codec-http vulnerability

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
maven/io.netty/netty-codec-http>=4.2.13.Final<4.2.16.Final, >=4.1.132.Final<4.1.136.Final

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.2.16.Final
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.1.136.Final

Event History

Dec 2, 2026
Data Sourced
via Red Hat·04:50 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are most exposed to this issue?

Deployments using netty-codec-http to decode HTTP/1 requests with HttpRequestDecoder are affected, especially when Netty is behind a proxy, gateway, WAF, or other HTTP component. Risk arises when that upstream component handles request-line control bytes differently from Netty.

2

What must an attacker be able to do to exploit the parsing differential?

The attacker must be able to cause a malformed HTTP/1 request line containing a leading control byte before the HTTP-version token, such as a NUL before HTTP/1.1, to be forwarded to Netty. Exploitation depends on an upstream component rejecting or interpreting those bytes differently while Netty trims and accepts them.

3

What can be done if an update cannot be applied immediately?

Ensure that the HTTP component in front of Netty rejects malformed request lines containing leading or trailing C0 control characters in the HTTP-version token and does not forward them to Netty. This removes the inconsistent parsing condition between the upstream component and the Netty hop.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203