UBUNTU-CVE-2026-7790

Source
https://ubuntu.com/security/CVE-2026-7790
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-7790.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-7790
Upstream
  • CVE-2026-7790
Published
2026-05-11T19:16:00Z
Modified
2026-06-24T11:00:25.196515392Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Uncontrolled Resource Consumption vulnerability in ninenines cowlib (cowhttpte module) allows Excessive Allocation. The chunked transfer-encoding parser in cowhttpte accepts an unbounded number of hex digits in the chunk-size field. Each digit causes a bignum multiplication (Len * 16 + digit), so parsing N hex digits requires O(N²) CPU work and O(N) memory. Additionally, when input is drip-fed, the parser discards the accumulated length on each partial read and restarts from zero on resumption, raising the cost to O(N³). An unauthenticated remote attacker can exploit this by sending an HTTP/1.1 request with Transfer-Encoding: chunked and a very long chunk-size hex string to cause denial of service through CPU exhaustion and memory amplification. This vulnerability is associated with program file src/cowhttpte.erl and program routines cowhttpte:streamchunked/2, cowhttpte:chunkedlen/4. This issue affects cowlib: from 0.6.0 before 2.16.1.

References

Affected packages

Ubuntu:16.04:LTS
erlang-cowlib

Package

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

Affected ranges

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

Affected versions

1.*
1.3.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "erlang-cowlib",
            "binary_version": "1.3.0-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

1.*
1.3.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "erlang-cowlib",
            "binary_version": "1.3.0-2"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

1.*
1.3.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "erlang-cowlib",
            "binary_version": "1.3.0-3"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

1.*
1.3.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "erlang-cowlib",
            "binary_version": "1.3.0-3"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

1.*
1.3.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "erlang-cowlib",
            "binary_version": "1.3.0-3"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

1.*
1.3.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "erlang-cowlib",
            "binary_version": "1.3.0-3"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

1.*
1.3.0-3
1.3.0-3build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "erlang-cowlib",
            "binary_version": "1.3.0-3build1"
        }
    ]
}

Database specific

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