Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 95%

CVE-2026-49762: CWE-400 Uncontrolled Resource Consumption in elixir-lang elixir

0
Medium
VulnerabilityCVE-2026-49762cvecve-2026-49762cwe-400
Published: 06/09/2026 (06/09/2026, 14:04:07 UTC)
Source: CVE Database V5
Vendor/Project: elixir-lang
Product: elixir

Description

Uncontrolled Resource Consumption vulnerability in the Elixir standard library's Version module allows an attacker who controls a version string to cause a denial of service through CPU and memory exhaustion. The version parser converts numeric version components (major, minor, patch and numeric pre-release/build identifiers) to integers without bounding their length. A single large all-digit component therefore forces a super-linear, non-yielding base-10 to arbitrary-precision integer conversion (String.to_integer/1, i.e. :erlang.binary_to_integer/1) that pins a BEAM scheduler, and a larger component raises an uncaught SystemLimitError that crashes the calling process. A single moderately sized string (around one megabyte) is enough; no authentication is required. This is reachable from the public entry points Version.parse/1, Version.parse!/1, Version.match?/3, Version.compare/2, and Version.parse_requirement/1, which applications routinely call on untrusted input such as HTTP parameters, dependency-manifest fields, and package metadata. This vulnerability is associated with program files lib/version.ex and program routines 'Elixir.Version.Parser':parse_digits/2. This issue affects Elixir: from 1.5.0 before 1.20.1.

CVSS v4.0

Score 5.1medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

elixir
pkg:hex/elixir
Affected versions
<1.20.1 >=1.5.0

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: 06/09/2026, 15:41:24 UTC

Technical Analysis

This vulnerability in Elixir's Version module (lib/version.ex, Elixir.Version.Parser:parse_digits/2) involves uncontrolled resource consumption (CWE-400) when parsing numeric version components. The parser converts these components to integers without bounding their length, causing excessive CPU and memory use due to super-linear arbitrary-precision integer conversion. Large numeric components in version strings can pin a BEAM scheduler or cause a SystemLimitError that crashes the process. The issue affects Elixir versions from 1.5.0 before 1.20.1 and is reachable via public functions such as Version.parse/1, Version.parse!/1, Version.match?/3, Version.compare/2, and Version.parse_requirement/1, which are commonly called on untrusted input.

Potential Impact

An attacker able to supply a crafted version string can cause denial of service by exhausting CPU and memory resources of the Elixir runtime, potentially crashing processes or degrading system performance. No authentication is required to trigger this vulnerability. This can disrupt applications that parse untrusted version strings, such as those processing HTTP parameters or dependency manifests.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid parsing untrusted version strings or implement input validation to limit the length and format of numeric version components to prevent excessive resource consumption.

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-06-01T13:45:22.449Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2830838dd33fbd854ac48d

Added to database: 06/09/2026, 15:25:55 UTC

Last enriched: 06/09/2026, 15:41:24 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 77

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