{"answers":{"affected":"8 open source packages ship an affected version, including io.netty:netty-codec-http and io.netty:netty-codec-http2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42587 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-42587 is a high-severity denial of service vulnerability in Netty Netty, published on 13 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42587 and fix it if it is affected.\n\nWhat it is: CVE-2026-42587 is a high-severity denial of service vulnerability in Netty Netty, published on 13 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42587 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- io.netty:netty-codec-http2 (Maven): affected all versions; fixed in 4.1.133.Final\n- io.netty:netty-codec-http2 (Maven): affected all versions; fixed in 4.1.133.Final\n- io.netty:netty-codec-http2 (Maven): affected from 4.2.0.Alpha1; fixed in 4.2.13.Final\n- io.netty:netty-codec-http2 (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-42587/ (Markdown: https://insights.sbomify.com/CVE-2026-42587/index.md)","id":"CVE-2026-42587","markdown":"https://insights.sbomify.com/CVE-2026-42587/index.md","name":"CVE-2026-42587","record":{"aliases":["CLEANSTART-2026-AN70702","CLEANSTART-2026-GC42713","CLEANSTART-2026-HW60756","CLEANSTART-2026-JP35751","CLEANSTART-2026-UO65217","CLEANSTART-2026-WQ78814","CLSA-2026-1792795681","DEBIAN-CVE-2026-42587","GHSA-f6hv-jmp6-3vwv","MINI-23f3-9gvx-m367","MINI-249j-6927-362v","MINI-29hm-c26v-3rxp","MINI-2ch8-fhfv-46h7","MINI-2q76-7rfj-rrq4","MINI-2x2j-5j56-gjjw","MINI-37jm-9493-g3v3","MINI-3989-6mr9-qwmv","MINI-3fhw-j7gf-3xq6","MINI-3gh8-v56w-3p8w","MINI-3j79-m6qm-gm45","MINI-3xhc-wqhh-pvgw","MINI-42rg-2r2x-3q7p","MINI-4ff2-48m2-3h6f","MINI-4gch-8gp7-fhvr","MINI-4xwq-f47r-45h9","MINI-5236-v33j-gr9h","MINI-53rj-rv7r-vhpj","MINI-563c-v6cr-x222","MINI-57wj-86fm-q954","MINI-5847-9x7c-h29q","MINI-59cm-7q4x-pvhh","MINI-5pm2-hhrj-28mf","MINI-5v97-2788-hjjg","MINI-642r-2458-m953","MINI-64vh-xf7g-4c2c","MINI-6qg6-pj4r-f8m4","MINI-6qwv-xq2f-9rm7","MINI-6xv7-pfpx-69v9","MINI-7375-2cjw-4f48","MINI-74w3-rjwv-2g8c","MINI-76x2-qpw9-vgmf","MINI-7m6f-c49m-vwm9","MINI-7pwf-84f3-qfgr","MINI-7x84-hg82-8gmr","MINI-87vw-hcrj-864q","MINI-885j-7v66-w6q4","MINI-896v-5f4x-f2c9","MINI-898m-q58g-5vw3","MINI-8ccw-h792-6v93","MINI-8rwg-8h2h-vh6x","MINI-9h24-9v46-hfq8","MINI-9jjv-v725-h2qp","MINI-9wmh-6w38-qvrq","MINI-9xqj-rj6g-22ff","MINI-c9xq-jph6-86qw","MINI-chmp-8gr3-cr98","MINI-f2jj-j3jp-jgp4","MINI-f9m6-whr5-pw3w","MINI-fh7w-vq3v-hm7r","MINI-fj8j-98cp-296p","MINI-fqrh-g4q5-767x","MINI-frf6-36mr-j5rp","MINI-fxmh-fj3j-jg8x","MINI-g572-jr45-3qg9","MINI-g5w6-7mf5-53j4","MINI-g987-x84g-xjc5","MINI-g9qm-f2hc-qh24","MINI-gc2m-w9x6-ggjm","MINI-gf9p-q532-6mgq","MINI-ghr9-25xf-q4wp","MINI-gvgr-x259-7m3v","MINI-h3x3-f745-c38f","MINI-hjhr-qm6h-c36w","MINI-hjmg-3hx7-j6x8","MINI-hxqr-h27v-43q5","MINI-j3c7-w9gh-6gc3","MINI-j93r-662q-2h69","MINI-jf95-74wg-79mf","MINI-m4p9-9887-hvqj","MINI-mx49-6986-v68v","MINI-mxjq-35xf-222p","MINI-p64j-fmqj-xjx7","MINI-p6wg-92g5-vjqv","MINI-pf7g-rqq9-q969","MINI-pmc6-f3hq-85mq","MINI-pp8q-ggr2-x422","MINI-q93r-c958-73vp","MINI-qpwr-q3j3-vh2w","MINI-qrfm-chff-q8m6","MINI-r322-2h7p-xvc2","MINI-rh94-v67x-frmg","MINI-vcm6-57rw-v38p","MINI-vf2g-p38f-x59q","MINI-w22f-wcmr-pxhr","MINI-w344-c99m-c4v5","MINI-w8jj-83x5-f8fj","MINI-wc5r-r623-pjcq","MINI-wc95-gqrq-cggr","MINI-wfwm-632j-8857","MINI-wqj8-6f3p-hwhx","MINI-wqr4-fjmp-26wx","MINI-x3gw-5rrx-g7wh","MINI-xrjw-f8h6-r759","MINI-xvcg-f7vv-4qjv","MINI-xwrq-xfwx-843c","ROOT-APP-MAVEN-CVE-2026-42587"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java network framework","requires_auth":"none","summary":"Attackers can cause out-of-memory denial of service in Netty by bypassing decompression limits using Brotli, zstd, or snappy encodings.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"netty","vendor":"netty"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, HttpContentDecompressor accepts a maxAllocation parameter to limit decompression buffer size and prevent decompression bomb attacks. This limit is correctly enforced for gzip and deflate encodings via ZlibDecoder, but is silently ignored when the content encoding is br (Brotli), zstd, or snappy. An attacker can bypass the configured decompression limit by sending a compressed payload with Content-Encoding: br instead of Content-Encoding: gzip, causing unbounded memory allocation and out-of-memory denial of service. The same vulnerability exists in DelegatingDecompressorFrameListener for HTTP/2 connections. 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: HttpContentDecompressor maxAllocation bypass via Content-Encoding: br/zstd/snappy enables decompression bomb DoS","id":"CVE-2026-42587","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netty:netty","products":["netty:netty"],"type":"denial_of_service","year":"2026"},"n_packages":8,"n_references":1,"next":{"headline":"Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Remote Code Execution via Jolokia addNetworkConnector","id":"CVE-2026-42588"},"packages":[{"ecosystem":"Maven","fixed":["4.1.133.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-http","purl":null,"source":"GHSA-f6hv-jmp6-3vwv"},{"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-f6hv-jmp6-3vwv"},{"ecosystem":"Maven","fixed":["4.2.13.Final"],"introduced":["4.2.0.Alpha1"],"last_affected":[],"package":"io.netty:netty-codec-http","purl":null,"source":"GHSA-f6hv-jmp6-3vwv"},{"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-f6hv-jmp6-3vwv"},{"ecosystem":"Maven","fixed":["4.1.133.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-http2","purl":null,"source":"GHSA-f6hv-jmp6-3vwv"},{"ecosystem":"Maven","fixed":["4.1.133.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-http2","purl":"pkg:maven/io.netty/netty-codec-http2","source":"GHSA-f6hv-jmp6-3vwv"},{"ecosystem":"Maven","fixed":["4.2.13.Final"],"introduced":["4.2.0.Alpha1"],"last_affected":[],"package":"io.netty:netty-codec-http2","purl":null,"source":"GHSA-f6hv-jmp6-3vwv"},{"ecosystem":"Maven","fixed":["4.2.13.Final"],"introduced":["4.2.0.Alpha1"],"last_affected":[],"package":"io.netty:netty-codec-http2","purl":"pkg:maven/io.netty/netty-codec-http2","source":"GHSA-f6hv-jmp6-3vwv"}],"prev":{"headline":"Netty: CRLF Injection in Netty Redis Codec Encoder","id":"CVE-2026-42586"},"products":["netty","netty-codec-http","netty-codec-http2"],"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":["io.netty","netty"]},"summary":"Attackers can cause out-of-memory denial of service in Netty by bypassing decompression limits using Brotli, zstd, or snappy encodings.","url":"https://insights.sbomify.com/CVE-2026-42587/"}