GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CVE-2026-45536 - GitHub Advisory Database

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

Moderate severity GitHub Reviewed Published Jun 5, 2026 in netty/netty • Updated Jun 12, 2026

Package

io.netty:netty-transport-native-epoll (Maven)

Affected versions

>= 4.2.0.Final, <= 4.2.14.Final
<= 4.1.134.Final

Patched versions

4.2.15.Final
4.1.135.Final
io.netty:netty-transport-native-kqueue (Maven)
>= 4.2.0.Final, <= 4.2.14.Final
<= 4.1.134.Final
4.2.15.Final
4.1.135.Final

Description

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

References

  • GHSA-w573-9ffj-6ff9
  • https://github.com/netty/netty/releases/tag/netty-4.1.135.Final
  • https://github.com/netty/netty/releases/tag/netty-4.2.15.Final
  • https://nvd.nist.gov/vuln/detail/CVE-2026-45536
@chrisvest chrisvest published to netty/netty Jun 5, 2026
Published to the GitHub Advisory Database Jun 8, 2026
Reviewed Jun 8, 2026
Published by the National Vulnerability Database Jun 12, 2026
Last updated Jun 12, 2026

Severity

Moderate
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS score

(5th percentile)

Weaknesses

Weakness CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Learn more on MITRE.
Weakness CWE-772

Missing Release of Resource after Effective Lifetime

The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed. Learn more on MITRE.

CVE ID

CVE-2026-45536

GHSA ID

GHSA-w573-9ffj-6ff9

Source code

netty/netty
Loading Checking history

Uh oh!

There was an error while loading. Please reload this page.

See something to contribute? Suggest improvements for this vulnerability.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.