CVE-2026-59920 Details
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.
A vulnerability exists in Netty's STOMP encoder in versions prior to 4.1.136.Final and 4.2.16.Final. The issue arises because the encoder does not escape or validate header values in CONNECT and CONNECTED frames, allowing an attacker to inject additional STOMP headers. This vulnerability is exploitable when user-controlled input is placed into header values of a CONNECT or CONNECTED frame, and the application does not perform its own newline sanitization. The impact of this vulnerability varies depending on the STOMP broker implementation.
Users can upgrade to Netty versions 4.1.136.Final or 4.2.16.Final, where this vulnerability has been fixed. Alternatively, STOMP header validation can be added to reject newline characters in CONNECT and CONNECTED frames.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/netty/netty/security/advisories/GHSA-3g8r-4pfx-jmfh | CISA-ADP | MitigationVendor Advisory |
| https://github.com/netty/netty/security/advisories/GHSA-3g8r-4pfx-jmfh | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-93 | Improper Neutralization of CRLF Sequences ('CRLF Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| netty netty | < 4.1.136 >= 4.2.0, < 4.2.16 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 6, 2026 | Initial Analysis | [email protected] |
| Jul 29, 2026 | CVE Modified | CISA-ADP |
| Jul 29, 2026 | New CVE Received | [email protected] |