All vulnerabilities

Servers and applications

CVE-2026-49762

Unbounded integer parsing in the Version module enables CPU and memory exhaustion denial of service

Severity
Medium 5.1
Published
9 Jun 2026
Last changed
20 Nov 2026
Added to UpHeron
19 Nov 2026
Fixed in
1.20.1
Exploit chance
0.2% in the next 30 daysHigher than 4% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Uncontrolled resource consumption (CWE-400)
Attack
Needs local access · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
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
Sources
CVE Program

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…

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

Affected software

SoftwareAffected versions
ElixirServers and applications · cna:elixir-lang|elixir
  • From 0.9.3 before 1.20.1
ElixirServers and applications · cpe:a:elixir-lang:elixir
  • From 0.9.3 before 1.20.1

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-49762