CVE-2026-109821
Last modified
CVE-2026-109821 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| elixir-lang | elixir | >= 0.5.0, < 1.18.6; >= 1.19.0-rc.0, < 1.19.7; >= 1.20.0-rc.0, < 1.20.5 |
| elixir-lang | elixir | >= 39801821eef2d06524e5ebf5a0e4b3c380ad23ae, < * |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-109821?
How severe is CVE-2026-109821?
How do I fix CVE-2026-109821?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-1098The CM CSS Columns plugin for WordPress is vulnerable to Sto…6.4
- CVE-2026-10980Insufficient validation of untrusted input in DevTools in Go…6.5
- CVE-2026-10981Insufficient validation of untrusted input in Codecs in Goog…6.5
- CVE-2026-109812A missing authorization vulnerability exists in the internal…6.9
- CVE-2026-109813A hard-coded cryptographic key vulnerability exists in the `…8.6
- CVE-2026-10982Use after free in WebXR in Google Chrome prior to 149.0.7827…8.8
- CVE-2026-109822Yamaha wireless LAN router NWR100 provided by Yamaha Corpora…6.5
- CVE-2026-109823An attacker can read the name of filesystem paths of your ap…2.3
- CVE-2026-109827A vulnerability has been found in GPAC up to 26.07.0. This v…6.3
- CVE-2026-109828A vulnerability was found in libsndfile up to 1.2.2. This is…4.3
- CVE-2026-109829undici is an HTTP client library for Node.js. In versions 7.…9.1
- CVE-2026-10983Insufficient validation of untrusted input in Dawn in Google…9.6
Are you affected by CVE-2026-109821?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
