PT-2026-47801 · Elixir · Elixir
Eric Meadows-Jönsson
+3
·
Published
2026-06-09
·
Updated
2026-06-09
·
CVE-2026-49762
CVSS v4.0
5.1
Medium
| Vector | AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Elixir versions 1.5.0 through 1.20.0
Description
Uncontrolled Resource Consumption in the standard library's Version module allows an attacker to cause a denial of service via CPU and memory exhaustion. The version parser converts numeric components to integers without bounding their length, forcing a super-linear, non-yielding base-10 to arbitrary-precision integer conversion through
String.to integer/1 (also known as :erlang.binary to integer/1). This process pins a BEAM scheduler, and larger components can trigger an uncaught SystemLimitError that crashes the calling process. A string of approximately one megabyte is sufficient to trigger this issue, and no authentication is required. The issue is reachable via the parse digits/2 routine in lib/version.ex and public entry points including Version.parse/1, Version.parse!/1, Version.match?/3, Version.compare/2, and Version.parse requirement/1.Recommendations
Update to version 1.20.1.
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Elixir