Skip to main content
EPSS 0.2%top 93%

CVE-2026-75758: CWE-674 Uncontrolled Recursion in elixir-lang elixir

0
Medium
VulnerabilityCVE-2026-75758cvecve-2026-75758cwe-674
Published: 08/28/2026 (08/28/2026, 11:28:53 UTC)
Source: CVE Database V5
Vendor/Project: elixir-lang
Product: elixir

Description

CVE-2026-75758 is an uncontrolled recursion vulnerability in the Elixir standard library affecting functions inspect/1, List.to_string/1, and List.to_charlist/1. It occurs when a specially crafted list with a printable prefix exceeding 4096 elements but containing invalid elements later causes repeated nested inspections, leading to process stack growth and potential memory exhaustion of the BEAM node. This vulnerability affects specific release candidate and stable versions of Elixir from 1.15.0-rc.0 up to but not including 1.18.5, 1.19.0-rc.0 up to but not including 1.19.6, and 1.20.0-rc.0 up to but not including 1.20.4.

CVSS v4.0

Score 5.9medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

elixir-lang

elixir

Affected versions
>=1.15.0-rc.0 <1.18.5>=1.19.0-rc.0 <1.19.6>=1.20.0-rc.0 <1.20.4

elixir-lang

elixir

GitHub Actionsmore threats →cve
elixir
pkg:github/elixir
Affected versions
>=1.15.0-rc.0 <1.18.5>=1.19.0-rc.0 <1.19.6>=1.20.0-rc.0 <1.20.4
GitHub Actionsmore threats →cve
elixir-lang/elixir
pkg:github/elixir-lang/elixir
CPE configurations
cpe:2.3:a:elixir-lang:elixir:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/09/2026, 22:37:58 UTC

Technical Analysis

The vulnerability arises because Inspect.List's charlist classification uses List.ascii_printable?/2 to check only the first 4096 elements of a list. If the list's printable prefix exceeds this limit but contains invalid elements later (such as atoms, out-of-range integers, or improper tails), the conversion to string raises an ArgumentError. The rescue clause in List.to_string/1 then attempts to build an error message by recursively calling inspect/1 on the same list, causing uncontrolled recursion that grows the process stack and eventually exhausts memory. List.to_charlist/1 exhibits the same behavior. Versions affected are from 1.15.0-rc.0 before 1.18.5, 1.19.0-rc.0 before 1.19.6, and 1.20.0-rc.0 before 1.20.4.

Potential Impact

An attacker who can supply a crafted list to the affected functions can cause uncontrolled recursion leading to memory exhaustion of the BEAM node process. This can result in denial of service by crashing the process or exhausting node memory resources. There is no indication of code execution or privilege escalation. The CVSS 4.0 score is 5.9 (medium severity), reflecting local attack vector with partial attack complexity and high impact on availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the data. Users should monitor the official Elixir project advisories for updates and apply any released patches promptly. Until a fix is available, avoid passing untrusted or crafted lists to inspect/1, List.to_string/1, and List.to_charlist/1 to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-08-19T09:00:01.955Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a91ab5dacd9273b490abfdd

Added to database: 08/28/2026, 15:38:05 UTC

Last enriched: 09/09/2026, 22:37:58 UTC

Last updated: 10/11/2026, 06:48:18 UTC

Views: 57

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses