Home / elixir-lang / elixir / CVE-2026-75758
CVE-2026-75758: is it exploited, and which versions of elixir-lang elixir are affected and fixed?
CVE-2026-75758 is an uncontrolled recursion 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, 13:08 UTC). Affected: elixir from 1.15.0-rc.0 before 1.18.5, elixir from 1.19.0-rc.0 before 1.19.6 and elixir from 1.20.0-rc.0 before 1.20.4 (CVE record by EEF). Fixed in 1.18.5, 1.19.6 and 1.20.4 (CVE record by EEF). Severity: Medium (5.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-75758?
Unbounded recursion between Inspect.List charlist rendering and List.to_string/1 error path in Elixir
Uncontrolled Recursion vulnerability in the Elixir standard library allows an attacker who controls a list passed to inspect/1, List.to_string/1, or List.to_charlist/1 to exhaust a BEAM node's memory. Inspect.List's charlist branch in lib/elixir/lib/inspect.ex classifies a list as a charlist using List.ascii_printable?/2, which examines only the first :printable_limit (4096 by default) elements, and then calls IO.chardata_to_string/1 on the whole term. A list whose printable prefix exceeds that limit but which contains a later element that is not a code point (an atom, an out-of-range integer, or an improper tail) is therefore mis-classified, and the conversion raises ArgumentError. That conversion runs inside List.to_string/1, whose rescue clause builds its message by interpolating inspect(list), which re-enters the same branch and raises again. The nested inspection is an argument to raise, so the recursion is not in tail position and every level is retained: the process stack grows monotonically while each cycle re-walks the list, until the process is killed by max_heap_size or, by default, the node runs out of memory. List.to_charlist/1 has the same rescue shape. Below the printable limit the inner inspect/1 sees the invalid element within its counter and renders the list in ordinary bracket form, so a single ArgumentError is raised and no recursion occurs. This issue affects elixir: from 1.15.0-rc.0 before 1.18.5, from 1.19.0-rc.0 before 1.19.6, and from 1.20.0-rc.0 before 1.20.4.
From the CVE record by EEF, last updated November 20, 2026, 06:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| elixir-lang | elixir | from 1.15.0-rc.0 before 1.18.5 from 1.19.0-rc.0 before 1.19.6 from 1.20.0-rc.0 before 1.20.4 | 1.18.5, 1.19.6, 1.20.4 |
| 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-75758?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/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-75758 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 28, 2026)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 15.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-674 Uncontrolled Recursion
Is there a workaround? (from the CVE record)
Install a global inspect function that renders lists as lists rather than inferring charlists, by calling Inspect.Opts.default_inspect_fun/1 with fn term, opts -> Inspect.inspect(term, %{opts | charlists: :as_lists}) end from the application's start callback. This keeps the charlist branch from being entered at all, so the mis-inferred conversion never raises and the error path cannot recurse. The trade-off is global: charlists then render in bracket form, so ~c"abc" inspects as [97, 98, 99] everywhere in the application, including in logs and error reports.
Where are the vendor advisories and references?
- https://github.com/elixir-lang/elixir/security/advisories/GHSA-jf5q-v438-665c vendor-advisory, related
- EEF CNA record for CVE-2026-75758 related
- OSV record EEF-CVE-2026-75758 related
- Introducing commit 9718f2b in elixir-lang/elixir related
- Fix commit 0bba588 in elixir-lang/elixir patch
- Fix commit 1eff1ac in elixir-lang/elixir patch
- Fix commit 5230d73 in elixir-lang/elixir patch
- Fix commit a983c8c in elixir-lang/elixir patch
Who found and reported it?
- Thomas Cioppettini / Scalpel Software Inc (reporter)
- Jonatan Männchen / EEF (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
- August 19, 2026
- Published
- August 28, 2026, 11:28 UTC
- CVE record updated
- November 20, 2026, 06:05 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, 13:08 UTC; EPSS December 2, 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
- Oct 30, 2026CVE-2026-109821 elixir-lang elixir: quantity not validated
- Jun 9, 2026CVE-2026-49762 elixir-lang elixir: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-75758
Is CVE-2026-75758 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of elixir-lang elixir are affected by CVE-2026-75758?
elixir from 1.15.0-rc.0 before 1.18.5, elixir from 1.19.0-rc.0 before 1.19.6 and elixir from 1.20.0-rc.0 before 1.20.4, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-75758?
1.18.5, 1.19.6 and 1.20.4, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-75758?
Medium (5.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-75758?
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.