{"id":"CVE-2026-49762","aliases":["CVE-2026-49762","EEF-CVE-2026-49762","GHSA-w2h8-8x3g-278p"],"related":[],"kind":"vulnerability","state":"published","title":"Unbounded integer parsing in the Version module enables CPU and memory exhaustion denial of service","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nUncontrolled 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.","format":"markdown","source":"eef"},{"lang":"es","text":"Una vulnerabilidad de Consumo de Recursos No Controlado en el módulo Version de la biblioteca estándar de Elixir permite a un atacante que controla una cadena de versión causar una denegación de servicio a través del agotamiento de CPU y memoria.\n\nEl analizador de versiones convierte componentes numéricos de versión (mayor, menor, parche e identificadores numéricos de pre-lanzamiento/construcción) a enteros sin limitar su longitud. Un único componente grande de solo dígitos, por lo tanto, fuerza una conversión superlineal, no productiva, de base-10 a entero de precisión arbitraria (String.to_integer/1, es decir, :erlang.binary_to_integer/1) que fija un planificador BEAM, y un componente más grande genera un SystemLimitError no capturado que bloquea el proceso de llamada. Una única cadena de tamaño moderado (alrededor de un megabyte) es suficiente; no se requiere autenticación.\n\nEsto es accesible desde los puntos de entrada públicos Version.parse/1, Version.parse!/1, Version.match?/3, Version.compare/2, y Version.parse_requirement/1, que las aplicaciones llaman rutinariamente en entradas no confiables como parámetros HTTP, campos de manifiesto de dependencia y metadatos de paquete.\n\nEsta vulnerabilidad está asociada con los archivos de programa lib/version.ex y las rutinas de programa 'Elixir.Version.Parser':parse_digits/2.\n\nEste problema afecta a Elixir: desde 1.5.0 antes de 1.20.1.","source":"nvd"}],"published":"2026-06-09T14:04:07.405Z","modified":"2026-11-25T06:30:25.383Z","severity":{"scorer":"EEF","scheme":"CVSS: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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS: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","score":5.1,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS: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"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"0.9.3","fixed":"1.20.1","status":"affected"}],"vendor":"elixir-lang","product":"elixir","package":"elixir","cpe":"cpe:2.3:a:elixir-lang:elixir:*:*:*:*:*:*:*:*","repo":"https://github.com/elixir-lang/elixir","source":"cvelist"},{"ranges":[{"type":"git","introduced":"057691722eb8cfe315f5606358954a2b173ff7a3","fixed":"*","status":"affected"}],"vendor":"elixir-lang","product":"elixir","package":"elixir-lang/elixir","cpe":"cpe:2.3:a:elixir-lang:elixir:*:*:*:*:*:*:*:*","repo":"https://github.com/elixir-lang/elixir","source":"cvelist"},{"ranges":[{"type":"git","introduced":"057691722eb8cfe315f5606358954a2b173ff7a3","status":"affected","fixed":"64e6707233464c3e55a9ca6b44019aed25b0390a"},{"type":"git","status":"affected","fixed":"c64417d72fd5c7d09e963ca3ac5fa2b140978d9e"}],"repo":"https://github.com/elixir-lang/elixir","source":"eef"}],"references":[{"url":"https://github.com/elixir-lang/elixir/security/advisories/GHSA-w2h8-8x3g-278p","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-49762.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-49762","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/elixir-lang/elixir/commit/057691722eb8cfe315f5606358954a2b173ff7a3","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/elixir-lang/elixir/commit/64e6707233464c3e55a9ca6b44019aed25b0390a","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/elixir-lang/elixir/commit/c64417d72fd5c7d09e963ca3ac5fa2b140978d9e","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","José Valim","Eric Meadows-Jönsson"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-09T14:48:56.343Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49762","url":"https://www.cve.org/CVERecord?id=CVE-2026-49762","licence":"CVE Terms of Use","modified":"2026-11-20T06:01:37.881Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-49762","url":"https://osv.dev/vulnerability/EEF-CVE-2026-49762","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:25.383Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49762","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49762","licence":"Public domain","modified":"2026-11-20T06:17:29.993Z"}],"updatedAt":"2026-11-25T22:59:24.108Z","epss":{"score":0.00219,"percentile":0.07163,"date":"2026-11-30T12:00:22.000Z"}}