Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-59920 EUVD-2026-50424GHSA-3g8r-4pfx-jmfh

Netty: STOMP CONNECT Frame Header Injection

Published Jul 29, 2026 · Updated Jul 29, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
netty netty < 4.1.136.Final, >= 4.2.0.Final, < 4.2.16.Final —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 netty No fix yet —
Debian 13 netty No fix yet —
Debian 12 netty No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 netty No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS netty No fix yet —
Ubuntu Pro 24.04 LTS netty No fix yet —
Ubuntu Pro 22.04 LTS netty No fix yet —
Ubuntu Pro 20.04 LTS netty No fix yet —
Ubuntu Pro 18.04 LTS netty No fix yet —
Ubuntu Pro 16.04 LTS netty No fix yet —
Ubuntu Pro 14.04 LTS netty No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 netty 4.1.136-150200.4.53.1 SUSE-SU-2026:3482-1
SLES 15 SP7 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLES 15 SP6 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLES 15 SP5 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLES 15 SP4 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLES for SAP 15 SP5 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLES for SAP 15 SP4 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLE HPC 15 SP5 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLE HPC 15 SP4 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed netty 4.1.136-1.1 openSUSE-SU-2026:11394-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling management-api-for-apache-cassandra-5.0 0.1.122-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.netty:netty-codec-stomp >= 4.2.0.Final, < 4.2.16.Final 4.2.16.Final GHSA-3g8r-4pfx-jmfh
Maven io.netty:netty-codec-stomp < 4.1.136.Final 4.1.136.Final GHSA-3g8r-4pfx-jmfh

Advisories 3

References