CVE-2026-45536
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-06-12
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.1 %
higher than 3 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| io.netty | netty-transport-native-epoll (Maven) | < 4.1.135.Final | Affected |
| io.netty | netty-transport-native-epoll (Maven) | ≥ 4.2.0.Final, < 4.2.15.Final | Affected |
| io.netty | netty-transport-native-kqueue (Maven) | < 4.1.135.Final | Affected |
| io.netty | netty-transport-native-kqueue (Maven) | ≥ 4.2.0.Final, < 4.2.15.Final | Affected |
| Netty | Netty | < 4.1.135 | Affected |
| Netty | Netty | ≥ 4.2.0, < 4.2.15 | Affected |
Weakness type
-
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.
-
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.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1007: System Service Discovery
- T1016: System Network Configuration Discovery
- T1018: Remote System Discovery
- T1033: System Owner/User Discovery
- T1036.005: Match Legitimate Resource Name or Location
- T1046: Network Service Discovery
- T1049: System Network Connections Discovery
- T1057: Process Discovery
- T1069: Permission Groups Discovery
- T1082: System Information Discovery
- T1083: File and Directory Discovery
- T1087: Account Discovery
- T1111: Multi-Factor Authentication Interception
- T1120: Peripheral Device Discovery
- T1124: System Time Discovery
- T1134.001: Token Impersonation/Theft
- T1135: Network Share Discovery
- T1217: Browser Information Discovery
- T1499.002: Service Exhaustion Flood
- T1550.004: Web Session Cookie
References
- 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://github.com/netty/netty/security/advisories/GHSA-w573-9ffj-6ff9
Related at Berigo
Articles
-
Only one of the 91 vulnerabilities Spring patched is rated critical
Same product
2026-08-25
Spring has patched 91 vulnerabilities spread across a range of subprojects, and the advisories on spring.io are dated 20 August. Spring rates one of …
-
Two SharePoint flaws chain into code execution without a login
Same product
2026-08-25
Rapid7 has published its technical analysis of CVE-2026-63520 in Business Data Connectivity. Chained with the authentication bypass CVE-2026-55040, t…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.