All vulnerabilities

Servers and applications

CVE-2026-75758

Unbounded recursion between Inspect.List charlist rendering and List.to_string/1 error path in Elixir

Severity
Medium 5.9
Published
28 Aug 2026
Last changed
20 Nov 2026
Added to UpHeron
19 Nov 2026
Fixed in
1.18.5, 1.19.6, 1.20.4
Exploit chance
0.2% in the next 30 daysHigher than 8% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Uncontrolled recursion (CWE-674)
Attack
Needs local access · Only under certain conditions · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
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
Sources
CVE Program

Description

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
ElixirServers and applications · cna: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
ElixirServers and applications · cpe:a: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

About Elixir

programming language

From Wikidata, CC0 1.0.
Developers who used it in the past year
2.7%Stack Overflow Developer Survey 2025, 2025
Docker Hub pulls
69,069,515Docker Hub, 15 Nov 2026
GitHub stars
26,722GitHub, 15 Nov 2026
Forks
3,714GitHub, 15 Nov 2026
Latest release
v1.20.5GitHub, 15 Nov 2026
Released
29 Oct 2026GitHub
Developer
José ValimWikidata
License
Apache Software License 2.0Wikidata
Written in
ElixirWikidata
First released
9 Jan 2011Wikidata
First published on GitHub
9 Jan 2011GitHub

Release lines

ReleaseLatestSecurity fixes
1.201.20.5Yes
1.191.19.7Yes
1.181.18.6Yes
1.171.17.3Yes
1.161.16.3Yes
1.151.15.8Ended 3 Jun 2026

From endoflife.date.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-75758