UBUNTU-CVE-2026-45536 (CVE-2026-45536)

Vulnerability from osv_ubuntu – Published: 2026-06-12 15:16 – Updated: 2026-09-10 14:27 – Source website
VLAI
Details

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": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:3.2.6.Final-2+deb8u2ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:3.2.6.Final-2+deb8u2ubuntu0.1~esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.2.6.Final-2",
        "1:3.2.6.Final-2+deb8u2build0.14.04.1~esm1",
        "1:3.2.6.Final-2+deb8u2ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.0.34-1ubuntu0.1~esm5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.0.34-1ubuntu0.1~esm5?arch=source\u0026distro=esm-apps-legacy/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:3.2.6.Final-2",
        "1:4.0.32-1",
        "1:4.0.33-1",
        "1:4.0.34-1",
        "1:4.0.34-1ubuntu0.1~esm1",
        "1:4.0.34-1ubuntu0.1~esm2",
        "1:4.0.34-1ubuntu0.1~esm3",
        "1:4.0.34-1ubuntu0.1~esm4",
        "1:4.0.34-1ubuntu0.1~esm5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.1.7-4ubuntu0.1+esm7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.1.7-4ubuntu0.1+esm7?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:4.1.7-4",
        "1:4.1.7-4ubuntu0.1~esm1",
        "1:4.1.7-4ubuntu0.1",
        "1:4.1.7-4ubuntu0.1+esm1",
        "1:4.1.7-4ubuntu0.1+esm2",
        "1:4.1.7-4ubuntu0.1+esm3",
        "1:4.1.7-4ubuntu0.1+esm4",
        "1:4.1.7-4ubuntu0.1+esm5",
        "1:4.1.7-4ubuntu0.1+esm6",
        "1:4.1.7-4ubuntu0.1+esm7"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.1.45-1ubuntu0.1~esm7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.1.45-1ubuntu0.1~esm7?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:4.1.33-1",
        "1:4.1.33-2",
        "1:4.1.33-3",
        "1:4.1.45-1",
        "1:4.1.45-1ubuntu0.1~esm1",
        "1:4.1.45-1ubuntu0.1~esm2",
        "1:4.1.45-1ubuntu0.1~esm3",
        "1:4.1.45-1ubuntu0.1~esm4",
        "1:4.1.45-1ubuntu0.1~esm6",
        "1:4.1.45-1ubuntu0.1~esm7"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.1.48-4+deb11u2ubuntu0.2+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.1.48-4+deb11u2ubuntu0.2+esm1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:4.1.48-4",
        "1:4.1.48-4+deb11u1build0.22.04.1",
        "1:4.1.48-4+deb11u2build0.22.04.1",
        "1:4.1.48-4+deb11u2ubuntu0.1~esm1",
        "1:4.1.48-4+deb11u2ubuntu0.1~esm2",
        "1:4.1.48-4+deb11u2ubuntu0.1",
        "1:4.1.48-4+deb11u2ubuntu0.1+esm1",
        "1:4.1.48-4+deb11u2ubuntu0.1+esm3",
        "1:4.1.48-4+deb11u2ubuntu0.2",
        "1:4.1.48-4+deb11u2ubuntu0.2+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.1.48-9ubuntu0.2+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.1.48-9ubuntu0.2+esm2?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:4.1.48-7",
        "1:4.1.48-8",
        "1:4.1.48-9",
        "1:4.1.48-9ubuntu0.1~esm1",
        "1:4.1.48-9ubuntu0.1~esm2",
        "1:4.1.48-9ubuntu0.1",
        "1:4.1.48-9ubuntu0.1+esm1",
        "1:4.1.48-9ubuntu0.1+esm3",
        "1:4.1.48-9ubuntu0.2",
        "1:4.1.48-9ubuntu0.2+esm1",
        "1:4.1.48-9ubuntu0.2+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.1.48-10ubuntu0.25.10.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.1.48-10ubuntu0.25.10.2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:4.1.48-10",
        "1:4.1.48-10ubuntu0.25.10.1",
        "1:4.1.48-10ubuntu0.25.10.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-buffer-java",
            "binary_version": "1:4.1.48-16ubuntu0.1~esm2"
          },
          {
            "binary_name": "libnetty-common-java",
            "binary_version": "1:4.1.48-16ubuntu0.1~esm2"
          },
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.1.48-16ubuntu0.1~esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:26.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.1.48-16ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:4.1.48-10",
        "1:4.1.48-11",
        "1:4.1.48-12",
        "1:4.1.48-13",
        "1:4.1.48-14",
        "1:4.1.48-16",
        "1:4.1.48-16ubuntu0.1~esm2"
      ]
    }
  ],
  "aliases": [],
  "details": "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) \u2014 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-\u003ecmsg_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 \u2192 EAGAIN \u2192 Java maps to 0 \u2192 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.",
  "id": "UBUNTU-CVE-2026-45536",
  "modified": "2026-09-10T14:27:52Z",
  "published": "2026-06-12T15:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-45536"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-45536"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/netty/netty/security/advisories/GHSA-w573-9ffj-6ff9"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/netty/netty/releases/tag/netty-4.1.135.Final"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/netty/netty/releases/tag/netty-4.2.15.Final"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-45536"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…