patchminder
Proof of concept · CISA assessment CVE-2026-109821

Denial of servicein elixir-lang elixir.

Published 30 Oct 2026 · Updated 20 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Medium 6.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 1.18.6, 1.19.7, 1.20.5
In plain words

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.

What to do now
  • Upgrade elixir to 1.18.6, 1.19.7, 1.20.5 or later, whichever matches your release line.
  • Can't upgrade today? 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
elixir
0.5.0 to before 1.18.6
1.18.6
CVE record
elixir
1.19.0-rc.0 to before 1.19.7
1.19.7
CVE record
elixir
1.20.0-rc.0 to before 1.20.5
1.20.5
CVE record
elixir
39801821eef2d06524e5ebf5a0e4b3c380ad23ae and later
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 23 Oct 2026
    CVE ID reserved by EEF.
  2. 30 Oct 2026
    Published in the CVE List.
  3. 20 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other elixir vulnerabilities

Same weakness: Improper validation of specified quantity

All CWE-1284 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-109821: Denial of service in elixir-lang elixir. https://patchminder.com/cve/cve-2026-109821/ (accessed 5 December 2026).