{"answers":{"affected":"4 open source packages ship an affected version, including io.netty:netty-codec-http. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42581 exists.","fix":"Upgrade io.netty:netty-codec-http to a fixed version for your release line: 4.1.133.Final or 4.2.13.Final.","what":"CVE-2026-42581 is a medium-severity vulnerability in Netty Netty, published on 13 May 2026."},"fix_prompt":"Check this codebase for CVE-2026-42581 and fix it if it is affected.\n\nWhat it is: CVE-2026-42581 is a medium-severity vulnerability in Netty Netty, published on 13 May 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42581 exists.\n\nAffected packages and fixed versions:\n- io.netty:netty-codec-http (Maven): affected all versions; fixed in 4.1.133.Final\n- io.netty:netty-codec-http (Maven): affected all versions; fixed in 4.1.133.Final\n- io.netty:netty-codec-http (Maven): affected from 4.2.0.Alpha1; fixed in 4.2.13.Final\n- io.netty:netty-codec-http (Maven): affected from 4.2.0.Alpha1; fixed in 4.2.13.Final\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42581/ (Markdown: https://insights.sbomify.com/CVE-2026-42581/index.md)","id":"CVE-2026-42581","markdown":"https://insights.sbomify.com/CVE-2026-42581/index.md","name":"CVE-2026-42581","record":{"aliases":["CLEANSTART-2026-GO10860","CLEANSTART-2026-HJ71849","CLEANSTART-2026-IZ96145","CLEANSTART-2026-KP38688","CLEANSTART-2026-NR95500","CLEANSTART-2026-RK60048","DEBIAN-CVE-2026-42581","ECHO-4490-7f36-3359","GHSA-xxqh-mfjm-7mv9","MINI-26q6-785r-98p3","MINI-277r-c36x-67qj","MINI-27fv-vf6v-qj7m","MINI-2mgm-642c-pxq8","MINI-35cw-9h54-qfgg","MINI-38xj-rmc9-w2fc","MINI-3f5m-x4cx-5qcv","MINI-3rgr-9g29-jv83","MINI-3w9w-4fjr-h3qf","MINI-4fgw-6p4h-g7gj","MINI-4x3f-wrfv-hr33","MINI-5523-4689-4hw9","MINI-55ff-7m8v-c793","MINI-566r-mv6h-649c","MINI-58w8-32gh-f9f4","MINI-5g3f-8fv5-4859","MINI-5gvp-2fh9-4cj2","MINI-64rm-fc8f-3wpj","MINI-66x8-6wp3-hxm8","MINI-675h-mj4v-gwc6","MINI-67q6-gv58-69w3","MINI-689r-pvhf-cgr5","MINI-68hh-prw7-5pw9","MINI-6fcq-pg8j-5j43","MINI-6wjf-wf2g-49v5","MINI-74jq-vrgx-5rxj","MINI-7jvv-v4mv-2g2j","MINI-7p82-7pc7-wwmm","MINI-7r8p-329c-5hmq","MINI-82p8-vqwp-987x","MINI-8prr-3qw6-3cpq","MINI-9hmg-xf53-fwmf","MINI-9j35-7vcm-4xjj","MINI-9mwc-6jvf-5ccv","MINI-9vrc-4w94-33rf","MINI-c5c7-wr87-7w6h","MINI-chj3-cm8v-v883","MINI-cmwf-52x9-4mv4","MINI-cp9v-2929-r4wq","MINI-cqvr-xr89-cm65","MINI-cv7g-pxm5-2mrw","MINI-cwg5-8j5p-m3r9","MINI-f236-6g89-44mw","MINI-f6wq-2gh9-9qcx","MINI-fgw5-7p3w-fqj9","MINI-g4gw-29xp-m36f","MINI-gwc6-x77f-8c4m","MINI-h7qf-7q77-h28q","MINI-hc93-6vjw-cf6j","MINI-hfc7-64f6-x6f7","MINI-hhr5-pcjr-24rr","MINI-j3c4-4454-g7mh","MINI-j4vq-pfqj-phh2","MINI-j839-3m2f-2f5w","MINI-j9m7-ff9x-qrxf","MINI-jwjr-7422-26pj","MINI-m333-v9x9-2gph","MINI-m34q-fh5j-4gjq","MINI-m9r5-j4v7-2cf6","MINI-mcpf-g3fh-9q4v","MINI-mfwv-6vv3-7392","MINI-mg3p-gpww-m9mq","MINI-mpgg-4fjv-g3p3","MINI-mprv-99xp-p276","MINI-p896-4x48-489q","MINI-pgpv-m2fj-hpcr","MINI-pp8h-xvhj-9c9x","MINI-pr34-5vwr-r2mf","MINI-q4fr-897p-8hg6","MINI-qjhp-6329-9chx","MINI-qmx9-2jw5-25m4","MINI-qp8x-3chc-c9gx","MINI-r33q-w36r-6gmh","MINI-r6qp-rr4f-vjjw","MINI-r8gw-gfg5-gx2p","MINI-rcj7-x9r3-xxc5","MINI-rfwm-8h48-m659","MINI-rx37-p6q6-2543","MINI-rx98-cj4m-fx4x","MINI-v4mr-545f-wmvw","MINI-v66f-xrgr-w3w8","MINI-v7hf-x5p2-462x","MINI-vfpw-gr34-x4w2","MINI-vpgf-4rc8-ph2m","MINI-vq5p-g6g3-f24g","MINI-vqrm-w6pr-rxcr","MINI-vwjw-rpmv-f69h","MINI-vwqr-4667-p58m","MINI-wjfh-mvxh-9rw2","MINI-wpgh-6fc6-gq84","MINI-wr84-c5ff-468x","MINI-wrxv-fgx2-5mh2","MINI-x63r-q78x-pmxf","MINI-x6mf-352v-f664","MINI-xj7w-75vj-vfm5","MINI-xjfr-4w36-cvf5","MINI-xm3j-33vp-wg8r","MINI-xm94-v7g4-6vcp","MINI-xx6j-p5v3-j689","ROOT-APP-MAVEN-CVE-2026-42581","UBUNTU-CVE-2026-42581"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"netty","vendor":"netty"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Netty: HTTP/1.0 TE+CL Coexistence Bypasses Smuggling Sanitization","id":"CVE-2026-42581","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netty:netty","products":["netty:netty"],"type":null,"year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Netty: HTTP/3 QPACK literal unbounded allocation","id":"CVE-2026-42582"},"packages":[{"ecosystem":"Maven","fixed":["4.1.133.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-http","purl":null,"source":"GHSA-xxqh-mfjm-7mv9"},{"ecosystem":"Maven","fixed":["4.1.133.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-http","purl":"pkg:maven/io.netty/netty-codec-http","source":"GHSA-xxqh-mfjm-7mv9"},{"ecosystem":"Maven","fixed":["4.2.13.Final"],"introduced":["4.2.0.Alpha1"],"last_affected":[],"package":"io.netty:netty-codec-http","purl":null,"source":"GHSA-xxqh-mfjm-7mv9"},{"ecosystem":"Maven","fixed":["4.2.13.Final"],"introduced":["4.2.0.Alpha1"],"last_affected":[],"package":"io.netty:netty-codec-http","purl":"pkg:maven/io.netty/netty-codec-http","source":"GHSA-xxqh-mfjm-7mv9"}],"prev":{"headline":"Netty: HTTP Request Smuggling due to incorrect chunk size parsing","id":"CVE-2026-42580"},"products":["netty"],"published":"2026-05-13","related":[{"cvss_score":9.1,"headline":"Netty: SNI Routing Bypass via Fragmented TLS ClientHello Causing Fallback to Default SslContext","id":"CVE-2026-75595","kev_date_added":null,"published":"2026-08-19"},{"cvss_score":8.7,"headline":"Netty: Fragmented ClientHello records trigger quadratic pre-handshake reassembly in default SNI parsing","id":"CVE-2026-75596","kev_date_added":null,"published":"2026-08-19"},{"cvss_score":8.7,"headline":"Netty Bzip2Decoder: Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang","id":"CVE-2026-59901","kev_date_added":null,"published":"2026-07-29"},{"cvss_score":8.7,"headline":"Netty codec-haproxy: Signed-Byte Sentinel Collision in HAProxyMessageDecoder Leads to Unbounded Memory Exhaustion","id":"CVE-2026-55851","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":8.7,"headline":"Netty SpdyHttpDecoder: ByteBuf Reference Leak on RST_STREAM Leads to Native Memory Exhaustion","id":"CVE-2026-56745","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":8.7,"headline":"Netty Vulnerable to DNS Cache Poisoning via Missing Bailiwick Checks in CNAME Records","id":"CVE-2026-45674","kev_date_added":null,"published":"2026-06-12"},{"cvss_score":8.7,"headline":"Netty has Insufficient Bailiwick Validation for NS Records","id":"CVE-2026-47691","kev_date_added":null,"published":"2026-06-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-18","vendors":["netty"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-42581/"}