{"answers":{"affected":"4 open source packages ship an affected version, including io.netty:netty-codec-stomp. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59920 exists.","fix":"Upgrade io.netty:netty-codec-stomp to a fixed version for your release line: 4.1.136.Final or 4.2.16.Final.","what":"CVE-2026-59920 is a medium-severity vulnerability in Netty Netty, published on 29 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-59920 and fix it if it is affected.\n\nWhat it is: CVE-2026-59920 is a medium-severity vulnerability in Netty Netty, published on 29 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59920 exists.\n\nAffected packages and fixed versions:\n- io.netty:netty-codec-stomp (Maven): affected all versions; fixed in 4.1.136.Final\n- io.netty:netty-codec-stomp (Maven): affected all versions; fixed in 4.1.136.Final\n- io.netty:netty-codec-stomp (Maven): affected from 4.2.0.Final; fixed in 4.2.16.Final\n- io.netty:netty-codec-stomp (Maven): affected from 4.2.0.Final; fixed in 4.2.16.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-59920/ (Markdown: https://insights.sbomify.com/CVE-2026-59920/index.md)","id":"CVE-2026-59920","markdown":"https://insights.sbomify.com/CVE-2026-59920/index.md","name":"CVE-2026-59920","record":{"aliases":["CLEANSTART-2026-AJ11768","CLEANSTART-2026-RY69809","DEBIAN-CVE-2026-59920","GHSA-3g8r-4pfx-jmfh","MINI-239w-wv4f-px8c","MINI-6cp6-8g86-4jjh","MINI-6mq3-h469-ff72","MINI-6vxw-ggmx-fffj","MINI-7rx4-6ffc-447x","MINI-8xjx-2v8f-8253","MINI-9g87-2g49-hx58","MINI-gf84-382r-x6w7","MINI-gh8c-855c-4q5q","MINI-h57j-xcmw-hhp2","UBUNTU-CVE-2026-59920"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Netty network framework","requires_auth":"low_privilege","summary":"Attackers can inject STOMP headers via unescaped newlines in CONNECT frames, potentially bypassing authentication or escalating privileges in dependent brokers.","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.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/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. In versions prior to 4.1.136.Final and 4.2.16.Final, Netty's STOMP encoder ( StompSubframeEncoder ) does not escape or validate header values in  CONNECT  and  CONNECTED  frames, so raw newline ( \\n ) characters in a header value are written directly to the wire, allowing an attacker who controls a header value to inject additional STOMP headers. This happens because the encoder intentionally skips escaping for CONNECT/CONNECTED frames per the STOMP 1.2 specification but never rejects the raw newlines, and since a broker parses each line as a separate header, an attacker controlling a value such as a user-supplied login or passcode can overwrite connection parameters or add authentication/role headers to bypass authentication or escalate privileges (the actual impact is broker-dependent). The issue is fixed in versions 4.1.136.Final and 4.2.16.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: STOMP CONNECT Frame Header Injection","id":"CVE-2026-59920","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: CRLF Injection via Multipart Filename in Netty HttpPostRequestEncoder","id":"CVE-2026-59921"},"packages":[{"ecosystem":"Maven","fixed":["4.1.136.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-stomp","purl":null,"source":"GHSA-3g8r-4pfx-jmfh"},{"ecosystem":"Maven","fixed":["4.1.136.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-stomp","purl":"pkg:maven/io.netty/netty-codec-stomp","source":"GHSA-3g8r-4pfx-jmfh"},{"ecosystem":"Maven","fixed":["4.2.16.Final"],"introduced":["4.2.0.Final"],"last_affected":[],"package":"io.netty:netty-codec-stomp","purl":null,"source":"GHSA-3g8r-4pfx-jmfh"},{"ecosystem":"Maven","fixed":["4.2.16.Final"],"introduced":["4.2.0.Final"],"last_affected":[],"package":"io.netty:netty-codec-stomp","purl":"pkg:maven/io.netty/netty-codec-stomp","source":"GHSA-3g8r-4pfx-jmfh"}],"prev":{"headline":"Netty: HAProxy V1 Protocol CRLF Injection via AF_UNIX Address","id":"CVE-2026-59919"},"products":["netty"],"published":"2026-07-29","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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-29","vendors":["netty"]},"summary":"Attackers can inject STOMP headers via unescaped newlines in CONNECT frames, potentially bypassing authentication or escalating privileges in dependent brokers.","url":"https://insights.sbomify.com/CVE-2026-59920/"}