Description
Netty is a network application framework for development of protocol servers and clients. Prior to versions 4.1.135.Final and 4.2.15.Final, netty_unix_socket_recvFd sets msg_control to `char control[CMSG_SPACE(sizeof(int))]` (line 940) — 24 bytes on 64-bit Linux. A peer-sent SCM_RIGHTS cmsg carrying two ints has cmsg_len = CMSG_LEN(8) = 24, which fits exactly with no MSG_CTRUNC, so the kernel installs both fds in the receiving process. The subsequent check `cmsg->cmsg_len == CMSG_LEN(sizeof(int))` (line 972, expected 20) fails, the branch that would read the fd is skipped, and neither installed fd is closed. The for(;;) loop calls recvmsg again (non-blocking → EAGAIN → Java maps to 0 → read loop exits normally), leaving two leaked fds per message. There is no MSG_CTRUNC handling. Reachable via Epoll/KQueue DomainSocketChannel when the application opts into DomainSocketReadMode.FILE_DESCRIPTORS (non-default). Versions 4.1.135.Final and 4.2.15.Final patch the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| netty | netty | >= 4.2.0.Final, < 4.2.15.Final, < 4.1.135.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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | netty | No fix yet | — |
| Debian 13 | netty | No fix yet | — |
| Debian 12 | netty | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | netty | No fix yet | — |
| Ubuntu 25.10 | netty | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | netty | 4.1.135-150200.4.50.1 | SUSE-SU-2026:2802-1 |
| SLES 15 SP7 | netty-tcnative | 2.0.79-150200.3.45.1 | SUSE-SU-2026:2802-1 |
| SLES 15 SP6 | netty-tcnative | 2.0.79-150200.3.45.1 | SUSE-SU-2026:2802-1 |
| SLES 15 SP5 | netty-tcnative | 2.0.79-150200.3.45.1 | SUSE-SU-2026:2802-1 |
| SLES 15 SP4 | netty-tcnative | 2.0.79-150200.3.45.1 | SUSE-SU-2026:2802-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | netty-tcnative | 2.0.79-150200.3.45.1 | SUSE-SU-2026:2802-1 |
| SLES for SAP 15 SP5 | netty-tcnative | 2.0.79-150200.3.45.1 | SUSE-SU-2026:2802-1 |
| SLES for SAP 15 SP4 | netty-tcnative | 2.0.79-150200.3.45.1 | SUSE-SU-2026:2802-1 |
| SLE HPC 15 SP5 | netty-tcnative | 2.0.79-150200.3.45.1 | SUSE-SU-2026:2802-1 |
| SLE HPC 15 SP4 | netty-tcnative | 2.0.79-150200.3.45.1 | SUSE-SU-2026:2802-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | netty | 4.1.135-1.1 | openSUSE-SU-2026:11033-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | akhq | 0.28.0-r2 | — |
| Wolfi rolling | apache-activemq-artemis | 2.54.0-r5 | — |
| Wolfi rolling | apache-nifi | 2.9.0-r14 | — |
| Wolfi rolling | apache-pulsar-4.2 | 4.2.2-r3 | — |
| Wolfi rolling | cassandra-5.0 | 5.0.8-r5 | — |
| Wolfi rolling | cassandra-reaper | 4.2.5-r1 | — |
| Wolfi rolling | celeborn-0.6 | 0.6.3-r7 | — |
| Wolfi rolling | druid | 37.0.0-r12 | — |
| Wolfi rolling | flyway | 12.8.1-r5 | — |
| Wolfi rolling | infinispan-16.1 | 16.1.4-r3 | — |
| Wolfi rolling | keycloak-26.5 +4 | No fix yet | — |
| Wolfi rolling | keycloak-26.6 +1 | 26.6.3-r4 | — |
| Wolfi rolling | kserve-modelmesh | 0.12.0-r35 | — |
| Wolfi rolling | management-api-for-apache-cassandra-5.0 | 0.1.120-r0 | — |
| Wolfi rolling | neo4j-2026.05 | 2026.05.0-r1 | — |
| Wolfi rolling | solr-10 +1 | 10.0.0-r5 | — |
| Wolfi rolling | spark-4.0-scala-2.13 | 4.0.3-r1 | — |
| Wolfi rolling | spark-4.1-scala-2.13 | 4.1.2-r4 | — |
| Wolfi rolling | strimzi-kafka-operator-kafka-init +5 | 1.0.0-r6 | — |
| Wolfi rolling | strimzi-kafka-operator-kafka-thirdparty-libs-cc | 1.1.0-r4 | — |
| Wolfi rolling | tez | 0.10.5-r16 | — |
| Wolfi rolling | thingsboard-tb-node +1 | 4.3.1.2-r8 | — |
| Wolfi rolling | trino +4 | 483-r7 | — |
| Wolfi rolling | trino-plugin-hive +11 | 481-r7 | — |
| Wolfi rolling | wavefront-proxy | 13.9-r18 | — |
| Wolfi rolling | wildfly-openjdk-17 +1 | 40.0.0-r5 | — |
| Wolfi rolling | zipkin +1 | 3.6.1-r10 | — |
| Wolfi rolling | zookeeper-3.9 | 3.9.5-r7 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | io.netty:netty-transport-native-epoll | >= 4.2.0.Final, < 4.2.15.Final | 4.2.15.Final | GHSA-w573-9ffj-6ff9 |
| Maven | io.netty:netty-transport-native-epoll | < 4.1.135.Final | 4.1.135.Final | GHSA-w573-9ffj-6ff9 |
| Maven | io.netty:netty-transport-native-kqueue | >= 4.2.0.Final, < 4.2.15.Final | 4.2.15.Final | GHSA-w573-9ffj-6ff9 |
| Maven | io.netty:netty-transport-native-kqueue | < 4.1.135.Final | 4.1.135.Final | GHSA-w573-9ffj-6ff9 |
Advisories 3
- WID-SEC-2026-1814 Netty: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- SUSE-SU-2026:2802-1 Security update for netty, netty-tcnative SUSE / openSUSE Security Updates · Jul 9, 2026
- openSUSE-SU-2026:11033-1 netty-4.1.135-1.1 on GA media SUSE / openSUSE Security Updates · Jun 16, 2026