{"answers":{"affected":"4 open source packages ship an affected version, including io.netty:netty-codec-redis. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-42586 in the wild and no public exploit code.","fix":"Upgrade io.netty:netty-codec-redis to a fixed version for your release line: 4.1.133.Final or 4.2.13.Final.","what":"CVE-2026-42586 is a medium-severity vulnerability in Netty Netty, published on 13 May 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42586 and fix it if it is affected.\n\nWhat it is: CVE-2026-42586 is a medium-severity vulnerability in Netty Netty, published on 13 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-42586 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.netty:netty-codec-redis (Maven): affected all versions; fixed in 4.1.133.Final\n- io.netty:netty-codec-redis (Maven): affected all versions; fixed in 4.1.133.Final\n- io.netty:netty-codec-redis (Maven): affected from 4.2.0.Alpha1; fixed in 4.2.13.Final\n- io.netty:netty-codec-redis (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-42586/ (Markdown: https://insights.sbomify.com/CVE-2026-42586/index.md)","id":"CVE-2026-42586","markdown":"https://insights.sbomify.com/CVE-2026-42586/index.md","name":"CVE-2026-42586","record":{"aliases":["CLEANSTART-2026-BS28431","CLEANSTART-2026-LT22679","CLEANSTART-2026-TD23067","CLSA-2026-1788193874","CLSA-2026-1788418779","DEBIAN-CVE-2026-42586","GHSA-rgrr-p7gp-5xj7","MINI-v2c2-f7jx-629h","MINI-v5cr-5975-2m2m","MINI-w763-vmfj-rq7w","MINI-xcw5-mwrh-7hc4","UBUNTU-CVE-2026-42586"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Netty Redis codec","requires_auth":"none","summary":"Attackers can inject arbitrary Redis commands or forge responses via CRLF injection in the Netty Redis codec encoder.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"netty","vendor":"netty"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"description":"Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, the Netty Redis codec encoder (RedisEncoder) writes user-controlled string content directly to the network output buffer without validating or sanitizing CRLF (\\r\\n) characters. Since the Redis Serialization Protocol (RESP) uses CRLF as the command/response delimiter, an attacker who can control the content of a Redis message can inject arbitrary Redis commands or forge fake responses. 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":"none_known"},"has_fix":true,"headline":"Netty: CRLF Injection in Netty Redis Codec Encoder","id":"CVE-2026-42586","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netty:netty","products":["netty:netty"],"type":"other","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Netty: HttpContentDecompressor maxAllocation bypass via Content-Encoding: br/zstd/snappy enables decompression bomb DoS","id":"CVE-2026-42587"},"packages":[{"ecosystem":"Maven","fixed":["4.1.133.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-redis","purl":null,"source":"GHSA-rgrr-p7gp-5xj7"},{"ecosystem":"Maven","fixed":["4.1.133.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-redis","purl":"pkg:maven/io.netty/netty-codec-redis","source":"GHSA-rgrr-p7gp-5xj7"},{"ecosystem":"Maven","fixed":["4.2.13.Final"],"introduced":["4.2.0.Alpha1"],"last_affected":[],"package":"io.netty:netty-codec-redis","purl":null,"source":"GHSA-rgrr-p7gp-5xj7"},{"ecosystem":"Maven","fixed":["4.2.13.Final"],"introduced":["4.2.0.Alpha1"],"last_affected":[],"package":"io.netty:netty-codec-redis","purl":"pkg:maven/io.netty/netty-codec-redis","source":"GHSA-rgrr-p7gp-5xj7"}],"prev":{"headline":"Netty: HTTP Request Smuggling due to malformed Transfer-Encoding","id":"CVE-2026-42585"},"products":["netty","netty-codec-redis"],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-14","vendors":["io.netty","netty"]},"summary":"Attackers can inject arbitrary Redis commands or forge responses via CRLF injection in the Netty Redis codec encoder.","url":"https://insights.sbomify.com/CVE-2026-42586/"}