Skip to content
OpenAdvisories
Medium · 4.0 CVE-2026-45536 EUVD-2026-36439GHSA-w573-9ffj-6ff9

Netty: Unix-socket fd receive leaks descriptors when peer sends two at once

Published Jun 12, 2026 · Updated Jun 12, 2026 · Assigned by GitHub_M

Vendor: netty Product: netty Package: akhq Package: apache-activemq-artemis Package: apache-nifi Package: apache-pulsar-4.2 Package: cassandra-5.0 Package: cassandra-reaper Package: celeborn-0.6 Package: druid Package: flyway Package: infinispan-16.1 Package: io.netty:netty-transport-native-epoll Package: io.netty:netty-transport-native-kqueue Package: keycloak-26.4-iamguarded-compat Package: keycloak-26.5 Package: keycloak-26.5-iamguarded-compat Package: keycloak-26.6 Package: keycloak-26.6-iamguarded-compat Package: kserve-modelmesh Package: management-api-for-apache-cassandra-5.0 Package: neo4j-2025.10 Package: neo4j-2026.01 Package: neo4j-2026.05 Package: netty Package: netty Package: solr-10 Package: solr-10-iamguarded-compat Package: spark-4.0-scala-2.13 Package: spark-4.1-scala-2.13 Package: strimzi-kafka-operator-cluster-operator Package: strimzi-kafka-operator-kafka-agent Package: strimzi-kafka-operator-kafka-init Package: strimzi-kafka-operator-kafka-thirdparty-libs-cc Package: strimzi-kafka-operator-topic-operator Package: strimzi-kafka-operator-tracing-agent Package: strimzi-kafka-operator-user-operator Package: tez Package: thingsboard-tb-mqtt-transport Package: thingsboard-tb-node Package: trino Package: trino-plugin-bigquery Package: trino-plugin-delta-lake Package: trino-plugin-exchange-filesystem Package: trino-plugin-exchange-hdfs Package: trino-plugin-hive Package: trino-plugin-hudi Package: trino-plugin-iceberg Package: trino-plugin-kafka Package: trino-plugin-kafka-event-listener Package: trino-plugin-lakehouse Package: trino-plugin-opensearch Package: trino-plugin-oracle Package: trino-plugin-pinot Package: trino-plugin-ranger Package: trino-plugin-spooling-filesystem Package: trino-plugin-teradata-functions Package: wavefront-proxy Package: wildfly-openjdk-17 Package: wildfly-openjdk-21 Package: zipkin Package: zipkin-slim Package: zookeeper-3.9 Ecosystem: Debian Ecosystem: Maven Ecosystem: Ubuntu Ecosystem: Wolfi

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

VendorProductAffectedFixed
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.

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 —
Ubuntu 25.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.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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed netty 4.1.135-1.1 openSUSE-SU-2026:11033-1

Wolfi

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
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

References