Home / elixir-lang / elixir / CVE-2026-109821
CVE-2026-109821: is it exploited, and which versions of elixir-lang elixir are affected and fixed?
CVE-2026-109821 is a quantity not validated vulnerability in elixir-lang elixir. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: elixir from 0.5.0 before 1.18.6, elixir from 1.19.0-rc.0 before 1.19.7 and elixir from 1.20.0-rc.0 before 1.20.5 (CVE record by EEF). Fixed in 1.18.6, 1.19.7 and 1.20.5 (CVE record by EEF). Severity: Medium (6.3, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-109821?
Unbounded port parsing in URI.parse/1 enables CPU exhaustion denial of service in Elixir
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.
From the CVE record by EEF, last updated November 20, 2026, 06:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| elixir-lang | elixir | from 0.5.0 before 1.18.6 from 1.19.0-rc.0 before 1.19.7 from 1.20.0-rc.0 before 1.20.5 | 1.18.6, 1.19.7, 1.20.5 |
| elixir-lang | elixir elixir-lang/elixir | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-109821?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-109821 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, October 30, 2026)
- EPSS
- 0.53% probability of exploitation activity in the next 30 days, percentile 46.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1284 Improper Validation of Specified Quantity in Input
- CWE-400 Uncontrolled Resource Consumption
Is there a workaround? (from the CVE record)
Reject long URLs before parsing them, for example anything above a few kilobytes, and reject a parsed port above 65535 before rendering or using the %URI{}. URI.new/1 is not affected on Erlang/OTP 27.3.4.17, 28.5.0.6, 29.0.6 and later, where :uri_string limits the port to 5 digits.
Where are the vendor advisories and references?
- Unbounded port parsing in URI.parse/1 enables CPU exhaustion denial of service vendor-advisory, related
- EEF CNA record for CVE-2026-109821 related
- OSV record EEF-CVE-2026-109821 related
- Erlang/OTP advisory for the same issue in uri_string related
- Introducing commit 3980182 in elixir-lang/elixir related
- Fix commit 07d9abc in elixir-lang/elixir patch
- Fix commit 9a39d64 in elixir-lang/elixir patch
- Fix commit b70f33a in elixir-lang/elixir patch
- Fix commit d879b39 in elixir-lang/elixir patch
Who found and reported it?
- Eric Meadows-Jönsson (finder)
- Eric Meadows-Jönsson (reporter)
- Jonatan Männchen / EEF (analyst)
- Eric Meadows-Jönsson (coordinator)
- José Valim (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 23, 2026
- Published
- October 30, 2026, 08:54 UTC
- CVE record updated
- November 20, 2026, 06:00 UTC by EEF
- NVD
- Deferred, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 06:15 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect elixir?
- Oct 30, 2026CVE-2026-97209 elixir-lang elixir: creation of Temporary File in Directory with Insecure Permissions
- Oct 30, 2026CVE-2026-115274 elixir-lang elixir: quantity not validated
- Aug 28, 2026CVE-2026-75758 elixir-lang elixir: uncontrolled recursion
- Jun 9, 2026CVE-2026-49762 elixir-lang elixir: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-109821
Is CVE-2026-109821 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.53% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of elixir-lang elixir are affected by CVE-2026-109821?
elixir from 0.5.0 before 1.18.6, elixir from 1.19.0-rc.0 before 1.19.7 and elixir from 1.20.0-rc.0 before 1.20.5, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-109821?
1.18.6, 1.19.7 and 1.20.5, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-109821?
Medium (6.3, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-109821?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.