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

Published Jun 9, 2026
·
Updated

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

Other sources

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.tointeger/1, i.e. :erlang.binarytointeger/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.parserequirement/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':parsedigits/2.

This issue affects Elixir: from 1.5.0 before 1.20.1.

NVD

Affected Software

3 affected componentsFixes available
Elixir Elixir>=1.5.0<1.20.1
Microsoft azl3 elixir 1.16.1-1<1.16.1-2
1.16.1-2
Microsoft azl3 elixir 1.16.1-2<1.16.1-2
1.16.1-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.16.1-2
  2. Upgrade

    Upgrade Elixir (Elixir standard library) to a version that resolves this vulnerability.

    Fixed in 1.20.1

Event History

Jun 9, 2026
CVE Published
via MITRE·02:04 PM
Data Sourced
via MITRE·02:04 PM
DescriptionWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Jun 10, 2026
Data Sourced
via Microsoft·08:05 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:05 AM
Affected Software
Updated
via Microsoft·08:05 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-49762?

CVE-2026-49762 has a medium severity rating of 5.1.

2

What vulnerability does CVE-2026-49762 describe?

CVE-2026-49762 describes an uncontrolled resource consumption vulnerability in the Elixir standard library's Version module.

3

How does CVE-2026-49762 enable denial of service?

CVE-2026-49762 allows an attacker to cause CPU and memory exhaustion by controlling a version string that the Version module parses.

4

Which software is affected by CVE-2026-49762?

CVE-2026-49762 affects the Elixir programming language's standard library.

5

How can I mitigate CVE-2026-49762?

To mitigate CVE-2026-49762, you should validate and sanitize version strings before parsing them in the Elixir Version module.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203