ubuntu-cve-2026-55851
Vulnerability from osv_ubuntu
Published
2026-07-21 22:17
Modified
2026-08-04 08:47
Summary
Details

Netty is a network application framework for development of protocol servers and clients. In versions 4.2.0.Final up to (but not including) 4.2.16.Final, and 4.1.0.Final up to (but not including) 4.1.135, the HAProxyMessageDecoder in Netty's codec-haproxy module performs protocol version detection by reading the 13th byte as a signed Java byte and widening it to int without masking; a PROXY protocol v2 binary prefix followed by version byte 0xFF sign-extends to -1, collides with the decoder's need-more-data sentinel, and causes ByteToMessageDecoder to accumulate inbound bytes in an unbounded cumulation buffer until direct memory is exhausted. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.


{
  "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~esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.0.34-1ubuntu0.1~esm4?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"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.1.7-4ubuntu0.1+esm6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.1.7-4ubuntu0.1+esm6?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"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.1.45-1ubuntu0.1~esm6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.1.45-1ubuntu0.1~esm6?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"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.1.48-4+deb11u2ubuntu0.1+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.1.48-4+deb11u2ubuntu0.1+esm3?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"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnetty-java",
            "binary_version": "1:4.1.48-9ubuntu0.1+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "netty",
        "purl": "pkg:deb/ubuntu/netty@1:4.1.48-9ubuntu0.1+esm3?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"
      ]
    },
    {
      "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. In versions 4.2.0.Final up to (but not including) 4.2.16.Final, and 4.1.0.Final up to (but not including) 4.1.135, the `HAProxyMessageDecoder` in Netty\u0027s `codec-haproxy` module performs protocol version detection by reading the 13th byte as a signed Java `byte` and widening it to `int` without masking; a PROXY protocol v2 binary prefix followed by version byte `0xFF` sign-extends to `-1`, collides with the decoder\u0027s need-more-data sentinel, and causes `ByteToMessageDecoder` to accumulate inbound bytes in an unbounded `cumulation` buffer until direct memory is exhausted. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.",
  "id": "UBUNTU-CVE-2026-55851",
  "modified": "2026-08-04T08:47:41Z",
  "published": "2026-07-21T22:17:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-55851"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-55851"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/netty/netty/security/advisories/GHSA-q6cq-mhr2-jmr5"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-55851"
  ]
}



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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…