CVE-2026-42581
Description
Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, HttpObjectDecoder strips a conflicting Content-Length header when a request carries both Transfer-Encoding: chunked and Content-Length, but only for HTTP/1.1 messages. The guard is absent for HTTP/1.0. An attacker that sends an HTTP/1.0 request with both headers causes Netty to decode the body as chunked while leaving Content-Length intact in the forwarded HttpMessage. Any downstream proxy or handler that trusts Content-Length over Transfer-Encoding will disagree on message boundaries, enabling request smuggling. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.
Weakness
- CWE-444: Inconsistent Interpretation of HTTP Requests
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-05-13 |
Timeline
- 2026-05-07GitHub advisory published (GHSA-xxqh-mfjm-7mv9)6 days before publication
- 2026-05-13Published by the CNA17:54 UTC
- 2026-05-13CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-xxqh-mfjm-7mv9, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven io.netty:netty-codec-http | before 4.1.133.Final | 4.1.133.Final |
| Maven io.netty:netty-codec-http | from 4.2.0.Alpha1 before 4.2.13.Final | 4.2.13.Final |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| netty netty | before 4.1.133fixed in 4.1.133from 4.2.0 before 4.2.13fixed in 4.2.13 | 4.1.1334.2.13 |
References
- https://github.com/netty/netty/security/advisories/GHSA-xxqh-mfjm-7mv9
- https://access.redhat.com/errata/RHSA-2026:23808
- https://access.redhat.com/errata/RHSA-2026:24502
- https://access.redhat.com/errata/RHSA-2026:25123
- https://access.redhat.com/errata/RHSA-2026:28010
- https://access.redhat.com/errata/RHSA-2026:36820
- https://access.redhat.com/errata/RHSA-2026:37390
- https://access.redhat.com/errata/RHSA-2026:42644
- https://access.redhat.com/errata/RHSA-2026:49700
- https://access.redhat.com/errata/RHSA-2026:49701
- https://access.redhat.com/errata/RHSA-2026:53644
- https://access.redhat.com/errata/RHSA-2026:53645
- https://access.redhat.com/errata/RHSA-2026:53646
- https://access.redhat.com/errata/RHSA-2026:54435
- https://access.redhat.com/errata/RHSA-2026:65126
- https://access.redhat.com/errata/RHSA-2026:66488
- https://access.redhat.com/errata/RHSA-2026:66545
- https://access.redhat.com/security/cve/CVE-2026-42581
- https://bugzilla.redhat.com/show_bug.cgi?id=2477232
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42581.json
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42581'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42581'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42581'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42581'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).