UBUNTU-CVE-2026-109821

Source
https://ubuntu.com/security/CVE-2026-109821
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-109821.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-109821
Upstream
Published
2026-10-30T00:00:00Z
Modified
2026-10-31T03:30:04Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Improper Validation of Specified Quantity in Input vulnerability in the Elixir standard library's URI module allows an attacker who supplies a URL to cause a denial of service through CPU exhaustion. URI.parse/1 converts the port component with String.to_integer/1 in split_authority/1 (lib/elixir/lib/uri.ex) without bounding its length, so a port of up to 1,262,592 decimal digits produces a bignum of that size and a longer one raises SystemLimitError. Rendering the parsed URI back to text (URI.to_string/1, inspect/1, logging, error formatting) converts the bignum with :erlang.integer_to_binary/1, which is quadratic on Erlang/OTP 27, 28 and 29.0: a 400,000-digit port renders in about 2.6 seconds and a 1 MB port in about 18 seconds. Ports above 65535 are also accepted. This issue affects elixir: from 0.5.0 before 1.18.6, from 1.19.0-rc.0 before 1.19.7, and from 1.20.0-rc.0 before 1.20.5.

References

Affected packages

Ubuntu:14.04:LTS / elixir

Package

Name
elixir
Purl
pkg:deb/ubuntu/elixir?arch=source&distro=trusty

Affected ranges

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

Affected versions

0.*
0.7.1-1
0.7.1-2
0.7.1-4build0.14.04.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-elixir",
            "binary_version":  "0.7.1-4build0.14.04.1"
        }
    ]
}

Database specific

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

Ubuntu:16.04:LTS / elixir

Package

Name
elixir
Purl
pkg:deb/ubuntu/elixir?arch=source&distro=xenial

Affected ranges

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

Affected versions

0.*
0.7.1-3
0.7.1-4build0.16.04.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-elixir",
            "binary_version":  "0.7.1-4build0.16.04.1"
        }
    ]
}

Database specific

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

Ubuntu:18.04:LTS / elixir

Package

Name
elixir
Purl
pkg:deb/ubuntu/elixir?arch=source&distro=bionic

Affected ranges

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

Affected versions

0.*
0.7.1-4build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-elixir",
            "binary_version":  "0.7.1-4build1"
        }
    ]
}

Database specific

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