Skip to content
Heist/ feed
Back to feed
MediumFix available

elixir-lang — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-49762

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.

Products
elixir-lang
Affected versions
1.14.0.dfsg-2, 1.17.3.dfsg-1, 1.17.3.dfsg-2, 1.18.1.dfsg-1, 1.18.1.dfsg-1.1, 1.18.3.dfsg-1, 1.18.3.dfsg-2, 1.19.5.dfsg-1, 1.19.5.dfsg-2, 1.20.0.dfsg-1, 1.20.1.dfsg-1, 1.20.1.dfsg-2, 1.20.4+dfsg-1
Fixed versions
1.20.1.dfsg-1
CVEs
CVE-2026-49762
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 03:39 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-49762

core-osv · Original source

Published 9 Jun 2026, 14:16 UTC

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.

osv:DEBIAN-CVE-2026-49762

elixir-lang

Fixed versions: Not specified

elixir-lang

Fixed versions: Not specified

elixir-lang

Fixed versions: 1.20.1.dfsg-1

Complete source record
{
  "id": "d729c7afc68d7a99ddfd7b7ab62cc31ddcc2b52332e92dca110858ee35548adb",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-49762",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-49762",
    "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. 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.",
    "evidence": "osv:DEBIAN-CVE-2026-49762",
    "products": [
      {
        "name": {
          "value": "elixir-lang",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.14.0.dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.17.3.dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.17.3.dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.18.1.dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.18.1.dfsg-1.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.18.3.dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.18.3.dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.5.dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.19.5.dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.0.dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.1.dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.1.dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.20.4+dfsg-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "elixir-lang",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.18.3.dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.18.3.dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.19.5.dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.19.5.dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.0.dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.1.dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.1.dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.20.4+dfsg-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "elixir-lang",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.20.1.dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.18.3.dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.18.3.dfsg-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.19.5.dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.19.5.dfsg-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.0.dfsg-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-49762",
      "aliases": [
        "DEBIAN-CVE-2026-49762"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "elixir-lang",
            "purl": "pkg:deb/debian/elixir-lang?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.14.0.dfsg-2",
            "1.17.3.dfsg-1",
            "1.17.3.dfsg-2",
            "1.18.1.dfsg-1",
            "1.18.1.dfsg-1.1",
            "1.18.3.dfsg-1",
            "1.18.3.dfsg-2",
            "1.19.5.dfsg-1",
            "1.19.5.dfsg-2",
            "1.20.0.dfsg-1",
            "1.20.1.dfsg-1",
            "1.20.1.dfsg-2",
            "1.20.4+dfsg-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49762.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "elixir-lang",
            "purl": "pkg:deb/debian/elixir-lang?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1.18.3.dfsg-1",
            "1.18.3.dfsg-2",
            "1.19.5.dfsg-1",
            "1.19.5.dfsg-2",
            "1.20.0.dfsg-1",
            "1.20.1.dfsg-1",
            "1.20.1.dfsg-2",
            "1.20.4+dfsg-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49762.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.20.1.dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "elixir-lang",
            "purl": "pkg:deb/debian/elixir-lang?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1.18.3.dfsg-1",
            "1.18.3.dfsg-2",
            "1.19.5.dfsg-1",
            "1.19.5.dfsg-2",
            "1.20.0.dfsg-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49762.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-07T09:47:26.591548859Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-49762"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-49762"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-49762",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 94634,
  "published_at": "2026-06-09T14:16:44.317+00:00"
}