{"id":"CVE-2026-49762","published":"2026-06-09T14:04:07Z","modified":"2026-11-20T06:01:37Z","title":"Unbounded integer parsing in the Version module enables CPU and memory exhaustion denial of service","vendor":"elixir-lang","product":"elixir","tier":"tail","description":{"text":"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.\n\nThe 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.\n\nThis 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.\n\nThis vulnerability is associated with program files lib/version.ex and program routines 'Elixir.Version.Parser':parse_digits/2.\n\nThis issue affects elixir: from 0.9.3 before 1.20.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00152,"percentile":0.04426,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/elixir-lang/elixir/security/advisories/GHSA-w2h8-8x3g-278p","tags":["related","vendor-advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-49762.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-49762","tags":["related"]},{"url":"https://github.com/elixir-lang/elixir/commit/057691722eb8cfe315f5606358954a2b173ff7a3","tags":["related"]},{"url":"https://github.com/elixir-lang/elixir/commit/64e6707233464c3e55a9ca6b44019aed25b0390a","tags":["patch"]},{"url":"https://github.com/elixir-lang/elixir/commit/c64417d72fd5c7d09e963ca3ac5fa2b140978d9e","tags":["patch"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":0.89},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"elixir-lang","affectedVersions":[{"vendor":"elixir-lang","product":"elixir","versions":[">= 0.9.3, < 1.20.1"]},{"vendor":"elixir-lang","product":"elixir","versions":[">= 057691722eb8cfe315f5606358954a2b173ff7a3"]}],"fixedVersions":[{"vendor":"elixir-lang","product":"elixir","versions":["64e6707233464c3e55a9ca6b44019aed25b0390a","c64417d72fd5c7d09e963ca3ac5fa2b140978d9e"]}],"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-09T14:48:56.343391Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-35439","exploited":false,"provenance":"source"}}