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.
Affected software
| Software | Affected versions |
|---|---|
ElixirServers and applications · cna:elixir-lang|elixir |
|
ElixirServers and applications · cpe:a:elixir-lang:elixir |
|
About Elixir
programming language
- 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
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 1.20 | 1.20.5 | Yes |
| 1.19 | 1.19.7 | Yes |
| 1.18 | 1.18.6 | Yes |
| 1.17 | 1.17.3 | Yes |
| 1.16 | 1.16.3 | Yes |
| 1.15 | 1.15.8 | Ended 3 Jun 2026 |
From endoflife.date.
Vulnerabilities in Elixir
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-109821Unbounded port parsing in URI.parse/1 enables CPU exhaustion denial of service in ElixirMedium 6.3 30 Oct 2026
- CVE-2026-115274Unbounded integer parsing in JSON.decode/1 enables CPU and memory exhaustion denial of service in ElixirMedium 6.9 29 Oct 2026
- CVE-2026-97209Insecure temporary file in mix deps.partition lets a local user execute code in another user's dependency buildMedium 5.4 29 Oct 2026
- CVE-2026-49762Unbounded integer parsing in the Version module enables CPU and memory exhaustion denial of serviceMedium 5.1 9 Jun 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-75758