UBUNTU-CVE-2026-8466

Source
https://ubuntu.com/security/CVE-2026-8466
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8466.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-8466
Upstream
Published
2026-05-13T19:17:00Z
Modified
2026-11-25T21:31:02Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (Source: CNA) CVSS Calculator
  • Ubuntu - medium (Source: SELF)
Summary
[none]
Details

Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows denial of service via unbounded buffer accumulation in multipart header parsing. cowboy_req:read_part/3 in src/cowboy_req.erl accumulates incoming request bytes into a Buffer binary with no upper-bound check. When cow_multipart:parse_headers/2 returns more or {more, Buffer2}, the function reads up to Length bytes (default 64 KB) from the request body and recurses with the enlarged buffer. There is no equivalent of the byte_size(Acc) > Length guard present in the sibling function read_part_body/4. An unauthenticated attacker can send a multipart/form-data request whose body never yields a complete header section — for example, a body that never contains the advertised boundary delimiter, or one whose header lines never contain \r\n\r\n — and force the server process to accumulate memory linearly with the bytes the protocol layer is willing to deliver. A handful of concurrent such uploads is sufficient to exhaust BEAM memory. The function has had two names. From 0.10.0 to 2.0.0-pre.3 it is cowboy_req:part/3, reached through cowboy_req:part/1 and cowboy_req:part/2. From 2.0.0-pre.4 it is cowboy_req:read_part/3, reached through cowboy_req:read_part/1 and cowboy_req:read_part/2. Both have the same buffer loop. This issue affects cowboy: from 0.10.0 before 2.15.0.

References

Affected packages

Ubuntu:16.04:LTS
erlang-cowboy

Package

Name
erlang-cowboy
Purl
pkg:deb/ubuntu/erlang-cowboy?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0~pre.1+dfsg1-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "erlang-cowboy",
            "binary_version":  "2.0.0~pre.1+dfsg1-1"
        },
        {
            "binary_name":  "erlang-cowboy-examples",
            "binary_version":  "2.0.0~pre.1+dfsg1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8466.json"
Ubuntu:18.04:LTS
erlang-cowboy

Package

Name
erlang-cowboy
Purl
pkg:deb/ubuntu/erlang-cowboy?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0~pre.1+dfsg1-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "erlang-cowboy",
            "binary_version":  "2.0.0~pre.1+dfsg1-2"
        },
        {
            "binary_name":  "erlang-cowboy-examples",
            "binary_version":  "2.0.0~pre.1+dfsg1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8466.json"
Ubuntu:20.04:LTS
erlang-cowboy

Package

Name
erlang-cowboy
Purl
pkg:deb/ubuntu/erlang-cowboy?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0~pre.1+dfsg1-4

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "erlang-cowboy",
            "binary_version":  "2.0.0~pre.1+dfsg1-4"
        },
        {
            "binary_name":  "erlang-cowboy-examples",
            "binary_version":  "2.0.0~pre.1+dfsg1-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8466.json"
Ubuntu:22.04:LTS
erlang-cowboy

Package

Name
erlang-cowboy
Purl
pkg:deb/ubuntu/erlang-cowboy?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0~pre.1+dfsg1-4

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "erlang-cowboy",
            "binary_version":  "2.0.0~pre.1+dfsg1-4"
        },
        {
            "binary_name":  "erlang-cowboy-examples",
            "binary_version":  "2.0.0~pre.1+dfsg1-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8466.json"
Ubuntu:24.04:LTS
erlang-cowboy

Package

Name
erlang-cowboy
Purl
pkg:deb/ubuntu/erlang-cowboy?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0~pre.1+dfsg1-4

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "erlang-cowboy",
            "binary_version":  "2.0.0~pre.1+dfsg1-4"
        },
        {
            "binary_name":  "erlang-cowboy-examples",
            "binary_version":  "2.0.0~pre.1+dfsg1-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8466.json"
Ubuntu:25.10
erlang-cowboy

Package

Name
erlang-cowboy
Purl
pkg:deb/ubuntu/erlang-cowboy?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0~pre.1+dfsg1-4

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "erlang-cowboy",
            "binary_version":  "2.0.0~pre.1+dfsg1-4"
        },
        {
            "binary_name":  "erlang-cowboy-examples",
            "binary_version":  "2.0.0~pre.1+dfsg1-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8466.json"
Ubuntu:26.04:LTS
erlang-cowboy

Package

Name
erlang-cowboy
Purl
pkg:deb/ubuntu/erlang-cowboy?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0~pre.1+dfsg1-4
2.0.0~pre.1+dfsg1-4build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "erlang-cowboy",
            "binary_version":  "2.0.0~pre.1+dfsg1-4build1"
        },
        {
            "binary_name":  "erlang-cowboy-examples",
            "binary_version":  "2.0.0~pre.1+dfsg1-4build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8466.json"
Ubuntu:26.10
erlang-cowboy

Package

Name
erlang-cowboy
Purl
pkg:deb/ubuntu/erlang-cowboy?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0~pre.1+dfsg1-4build1
2.18.0+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "erlang-cowboy",
            "binary_version":  "2.18.0+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8466.json"