CVE-2026-142454: Io.netty/netty-codec-http: netty: http/1 request-line http-version boundary control bytes are silently normalized

Published Dec 2, 2026
·
Updated

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.

Other sources

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.

— Red Hat

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 Io.netty/netty-codec-http to a version that resolves this vulnerability.

    Fixed in 4.2.16.Final
  2. Upgrade

    Upgrade Io.netty/netty-codec-http 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
CVE Published
via MITRE·06:27 PM
Data Sourced
via MITRE·06:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to request smuggling through this issue?

Deployments using netty-codec-http to parse HTTP/1 requests may be exposed when a front-end proxy, gateway, WAF, or other intermediary handles the malformed request line differently from Netty. The relevant differential occurs when the intermediary rejects a control byte before the HTTP-version token but Netty accepts it after normalization.

2

What must an attacker send to trigger the parsing discrepancy?

An attacker can send an HTTP/1 request whose HTTP-version token begins with a leading C0 control character, such as NUL. For example, Netty normalizes a token like \x00HTTP/1.1 to HTTP/1.1 before strict version validation.

3

What is the practical impact of a successful exploit?

The parsing difference can enable HTTP request smuggling. An attacker may bypass security filters or manipulate request routing when upstream security infrastructure and the Netty backend disagree about whether the request is valid.

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