{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-49762",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-06-01T13:45:22.449Z",
        "datePublished": "2026-06-09T14:04:07.405Z",
        "dateUpdated": "2026-06-10T04:43:08.517Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:elixir-lang:elixir:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.Version'",
                        "'Elixir.Version.Parser'"
                    ],
                    "packageName": "elixir-lang/elixir",
                    "packageURL": "pkg:otp/elixir?repository_url=https:%2F%2Fgithub.com%2Felixir-lang%2Felixir&vcs_url=git%20https:%2F%2Fgithub.com%2Felixir-lang%2Felixir.git",
                    "product": "elixir",
                    "programFiles": [
                        "lib/version.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.Version':parse/1"
                        },
                        {
                            "name": "'Elixir.Version':parse!/1"
                        },
                        {
                            "name": "'Elixir.Version':match?/3"
                        },
                        {
                            "name": "'Elixir.Version':compare/2"
                        },
                        {
                            "name": "'Elixir.Version':parse_requirement/1"
                        },
                        {
                            "name": "'Elixir.Version.Parser':parse_version/2"
                        },
                        {
                            "name": "'Elixir.Version.Parser':parse_digits/2"
                        },
                        {
                            "name": "'Elixir.Version.Parser':require_digits/1"
                        },
                        {
                            "name": "'Elixir.Version.Parser':convert_parts_to_integer/2"
                        }
                    ],
                    "repo": "https://github.com/elixir-lang/elixir",
                    "vendor": "elixir-lang",
                    "versions": [
                        {
                            "lessThan": "1.20.1",
                            "status": "affected",
                            "version": "1.5.0",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:elixir-lang:elixir:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.Version'",
                        "'Elixir.Version.Parser'"
                    ],
                    "packageName": "elixir-lang/elixir",
                    "packageURL": "pkg:github/elixir-lang/elixir",
                    "product": "elixir",
                    "programFiles": [
                        "lib/elixir/lib/version.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.Version':parse/1"
                        },
                        {
                            "name": "'Elixir.Version':parse!/1"
                        },
                        {
                            "name": "'Elixir.Version':match?/3"
                        },
                        {
                            "name": "'Elixir.Version':compare/2"
                        },
                        {
                            "name": "'Elixir.Version':parse_requirement/1"
                        },
                        {
                            "name": "'Elixir.Version.Parser':parse_version/2"
                        },
                        {
                            "name": "'Elixir.Version.Parser':parse_digits/2"
                        },
                        {
                            "name": "'Elixir.Version.Parser':require_digits/1"
                        },
                        {
                            "name": "'Elixir.Version.Parser':convert_parts_to_integer/2"
                        }
                    ],
                    "repo": "https://github.com/elixir-lang/elixir.git",
                    "vendor": "elixir-lang",
                    "versions": [
                        {
                            "lessThan": "c64417d72fd5c7d09e963ca3ac5fa2b140978d9e",
                            "status": "affected",
                            "version": "63e186aea94395897dc4964d82d250130c01ec25",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:elixir-lang:elixir:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "1.20.1",
                                    "versionStartIncluding": "1.5.0",
                                    "vulnerable": true
                                }
                            ],
                            "negate": false,
                            "operator": "AND"
                        }
                    ],
                    "operator": "AND"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "José Valim"
                },
                {
                    "lang": "en",
                    "type": "remediation reviewer",
                    "value": "Eric Meadows-Jönsson"
                },
                {
                    "lang": "en",
                    "type": "analyst",
                    "value": "Jonatan Männchen"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Uncontrolled Resource Consumption vulnerability in the Elixir standard library's <tt>Version</tt> module allows an attacker who controls a version string to cause a denial of service through CPU and memory exhaustion.</p><p>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 (<tt>String.to_integer/1</tt>, i.e. <tt>:erlang.binary_to_integer/1</tt>) that pins a BEAM scheduler, and a larger component raises an uncaught <tt>SystemLimitError</tt> that crashes the calling process. A single moderately sized string (around one megabyte) is enough; no authentication is required.</p><p>This is reachable from the public entry points <tt>Version.parse/1</tt>, <tt>Version.parse!/1</tt>, <tt>Version.match?/3</tt>, <tt>Version.compare/2</tt>, and <tt>Version.parse_requirement/1</tt>, which applications routinely call on untrusted input such as HTTP parameters, dependency-manifest fields, and package metadata.</p><p>This vulnerability is associated with program files <tt>lib/version.ex</tt> and program routines <tt>'Elixir.Version.Parser':parse_digits/2</tt>.</p><p>This issue affects Elixir: from 1.5.0 before 1.20.1.</p>"
                        }
                    ],
                    "value": "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 1.5.0 before 1.20.1."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-130",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-130 Excessive Allocation"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "attackVector": "LOCAL",
                        "baseScore": 5.1,
                        "baseSeverity": "MEDIUM",
                        "privilegesRequired": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "NONE",
                        "vectorString": "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",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "LOW",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-400",
                            "description": "CWE-400 Uncontrolled Resource Consumption",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-06-10T04:43:08.517Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/elixir-lang/elixir/security/advisories/GHSA-w2h8-8x3g-278p"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-49762.html"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-49762"
                },
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/elixir-lang/elixir/commit/c64417d72fd5c7d09e963ca3ac5fa2b140978d9e"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Unbounded integer parsing in the Version module enables CPU and memory exhaustion denial of service",
            "x_generator": {
                "engine": "cvelib 1.8.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-06-09T14:48:56.343391Z",
                                "id": "CVE-2026-49762",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-06-09T14:49:07.338Z"
                }
            }
        ]
    }
}