{"id":"CVE-2026-59920","published":"2026-07-29T17:32:46Z","modified":"2026-07-29T19:24:41Z","title":"Netty: STOMP CONNECT Frame Header Injection","vendor":"netty","product":"netty","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00415,"percentile":0.27495,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-3g8r-4pfx-jmfh","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":5.5},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"netty","affectedVersions":[{"vendor":"netty","product":"netty","versions":["< 4.1.136.Final",">= 4.2.0.Final, < 4.2.16.Final"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-29T19:01:13.468486Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.netty:netty-codec-stomp","vulnerableRanges":[">=4.2.0.Final, <4.2.16.Final","<4.1.136.Final"],"patched":["4.2.16.Final","4.1.136.Final"],"from":["GHSA-3g8r-4pfx-jmfh"],"provenance":"source"}],"summary":{"text":"Netty's STOMP encoder (StompSubframeEncoder) fails to escape or validate header values in CONNECT and CONNECTED frames, so raw newline characters are written directly to the wire and can inject additional STOMP headers. An attacker who can supply a header value, such as a user-supplied login or passcode, and who has network access and low-privilege authentication can overwrite connection parameters or add authentication or role headers, depending on how the broker parses them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:39Z"},"euvd":{"id":"EUVD-2026-50424","exploited":false,"provenance":"source"}}