# CVE-2026-49762: Unbounded integer parsing in the Version module enables CPU and memory exhaustion denial of service

- Severity: Medium 5.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-06-09T14:04:07.405Z
- Modified: 2026-11-25T06:30:25.383Z
- Also known as: EEF-CVE-2026-49762, GHSA-w2h8-8x3g-278p
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## 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 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.

(As written by CVE List.)

## Affected

- elixir: from 0.9.3 before 1.20.1
- elixir-lang/elixir: from 057691722eb8cfe315f5606358954a2b173ff7a3 before *
- https://github.com/elixir-lang/elixir: from 057691722eb8cfe315f5606358954a2b173ff7a3 before 64e6707233464c3e55a9ca6b44019aed25b0390a; before c64417d72fd5c7d09e963ca3ac5fa2b140978d9e

## Every score

- EEF: CVSS:4.0 5.1 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/elixir-lang/elixir/security/advisories/GHSA-w2h8-8x3g-278p> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-49762.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-49762> (related)
- <https://github.com/elixir-lang/elixir/commit/057691722eb8cfe315f5606358954a2b173ff7a3> (related, web)
- <https://github.com/elixir-lang/elixir/commit/64e6707233464c3e55a9ca6b44019aed25b0390a> (fix, patch)
- <https://github.com/elixir-lang/elixir/commit/c64417d72fd5c7d09e963ca3ac5fa2b140978d9e> (fix, patch)

## Sources

- CVE List: [CVE-2026-49762](https://www.cve.org/CVERecord?id=CVE-2026-49762), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-49762](https://osv.dev/vulnerability/EEF-CVE-2026-49762), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-49762](https://nvd.nist.gov/vuln/detail/CVE-2026-49762), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-49762 · Whole record: https://cve.day/CVE-2026-49762.json · Rebuilt by cve.day 2026-11-25T22:59:24.108Z
