CVE-2026-49762Unbounded integer parsing in the Version module enables CPU and memory exhaustion denial…
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 0.9.3 before 1.20.1.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | elixir-lang | Fix pending | UBUNTU-CVE-2026-49762 | |
| Ubuntu 26.04 | elixir-lang | Under investigation | UBUNTU-CVE-2026-49762 | |
| Ubuntu 25.10 | elixir-lang | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-49762 | |
| Ubuntu 24.04 | elixir-lang | Under investigation | UBUNTU-CVE-2026-49762 | |
| Ubuntu 22.04 | elixir-lang | Under investigation | UBUNTU-CVE-2026-49762 | |
| Ubuntu 20.04 | elixir-lang | Fix pending | UBUNTU-CVE-2026-49762 | |
| Ubuntu 18.04 | elixir-lang | Fix pending | UBUNTU-CVE-2026-49762 | |
| Ubuntu 16.04 | elixir-lang | Fix pending | UBUNTU-CVE-2026-49762 | |
| Debian 14 | elixir-lang | Fixed | 1.20.1.dfsg-1 | DEBIAN-CVE-2026-49762 |
| Debian 13 | elixir-lang | Fix pending | DEBIAN-CVE-2026-49762 | |
| Debian 12 | elixir-lang | Fix pending | DEBIAN-CVE-2026-49762 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- elixir-lang elixir: affected: 0.9.3 to before 1.20.1; fixed in
1.20.1 - elixir-lang elixir: affected: 057691722eb8cfe315f5606358954a2b173ff7a3 and later; fixed in
64e6707233464c3e55a9ca6b44019aed25b0390a
Vendor advisories:
- https://github.com/elixir-lang/elixir/security/advisories/GHSA-w2h8-8x3g-278p (vendor-advisory)
- https://github.com/elixir-lang/elixir/commit/64e6707233464c3e55a9ca6b44019aed25b0390a (patch)
- https://github.com/elixir-lang/elixir/commit/c64417d72fd5c7d09e963ca3ac5fa2b140978d9e (patch)
References
- https://github.com/elixir-lang/elixir/security/advisories/GHSA-w2h8-8x3g-278p
- https://cna.erlef.org/cves/CVE-2026-49762.html
- https://osv.dev/vulnerability/EEF-CVE-2026-49762
- https://github.com/elixir-lang/elixir/commit/057691722eb8cfe315f5606358954a2b173ff7a3
- https://github.com/elixir-lang/elixir/commit/64e6707233464c3e55a9ca6b44019aed25b0390a
- https://github.com/elixir-lang/elixir/commit/c64417d72fd5c7d09e963ca3ac5fa2b140978d9e
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.