CVE-2026-59920Netty
Medium 6.5
Follow: this CVE · Netty · Netty We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 29, 2026
- Updated
- Aug 6, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-93
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Netty.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | io.netty:netty-codec-stomp |
≥ 4.2.0.Final < 4.2.16.Final |
4.2.16.Final |
— |
| Maven | io.netty:netty-codec-stomp |
< 4.1.136.Final |
4.1.136.Final |
— |
Per OSV / GitHub Advisories (GHSA-3g8r-4pfx-jmfh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| netty | netty | < 4.1.136 |
| netty | netty | ≥ 4.2.0 < 4.2.16 |
Official advisories
- Security update for netty, netty-tcnative · SUSE · SUSE-SU-2026:3482-1 · Aug 4, 2026 Critical
- netty-4.1.136-1.1 on GA media · SUSE · openSUSE-SU-2026:11394-1 · Jul 28, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory