{"vuln_id":"CVE-2026-126540","aliases":["CVE-2026-126568","CVE-2026-126576","CVE-2026-126682"],"description":"Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via quadratic bigint loop in os2ip.\n\nEvery INTEGER or ENUMERATED longer than four content octets reaches os2ip, which iterates over each content octet with $result = ($result * 256) + $octet. Each multiplication operates on a bigint that grows by one octet per step, so decoding an n-octet value takes O(n^2) bigint work. Nothing limits content length before this loop runs.\n\nAn attacker who controls the decoded data can exhaust CPU with a single oversized INTEGER or ENUMERATED value.","published_at":"2026-11-20T01:17:08.843000Z","modified_at":"2026-11-20T19:18:40.093000Z","first_seen_at":"2026-11-21T19:15:08.228069Z","severity":"high","severity_source":"nvd","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-407"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00528,"epss_percentile":0.45549,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-126540"},"matched_alias":null,"items":[{"id":762,"source":{"id":"oss-security","name":"oss-security (seclists.org)"},"title":"Convert-ASN1 versions before 0.37 for Perl (8 CVEs)","summary":"Posted by Timothy Legge on Nov 19\nCVE-2026-126540\n\nConvert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via\n\nquadratic bigint loop in os2ip\n\nCVE-2026-126568\n\nConvert::ASN1 versions before 0.37 for Perl allow memory exhaustion\n\nvia unbounded MSG_PEEK buffer doubling in asn_recv\n\nCVE-2026-126576\n\nConvert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via\n\nunchecked exponent length in binary REAL decoding\n\nCVE-2026-126682\n\nConvert::ASN1 versions...","url":"https://seclists.org/oss-sec/2026/q4/797","published_at":"2026-11-20T02:40:51Z","updated_at":"2026-11-20T02:40:51Z","fetched_at":"2026-11-21T19:15:08.152085Z","severity":"high","cvss_score":7.5,"epss":0.00528,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-126540","vuln_ids":["CVE-2026-126540","CVE-2026-126568","CVE-2026-126576","CVE-2026-126682"],"tags":[],"cluster_id":500,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/762","html":"https://vulnwatch.ve1ve2.com/item/762"}},{"id":9337,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-126540: Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via quadratic bigint loop in os2ip. Every INTEGER or ENUMERATED longer than four content octet…","summary":"Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via quadratic bigint loop in os2ip.\n\nEvery INTEGER or ENUMERATED longer than four content octets reaches os2ip, which iterates over each content octet with $result = ($result * 256) + $octet. Each multiplication operates on a bigint that grows by one octet per step, so decoding an n-octet value takes O(n^2) bigint work. Nothing limits content length before this loop runs.\n\nAn attacker who controls the decoded data can exhaust CPU with a single oversized INTEGER or ENUMERATED value.\n\nReferences:\nhttps://github.com/cpan-authors/perl-Convert-ASN1/commit/49b362c527e0af05fca9be1e97e4a340d95afa75.patch\nhttps://github.com/cpan-authors/perl-Convert-ASN1/issues\nhttps://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126540","published_at":"2026-11-20T01:17:08.843000Z","updated_at":"2026-11-20T19:18:40.093000Z","fetched_at":"2026-11-21T19:15:31.484940Z","severity":"high","cvss_score":7.5,"epss":0.00528,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-126540","vuln_ids":["CVE-2026-126540","CVE-2026-126568","CVE-2026-126576","CVE-2026-126682"],"tags":["CWE-407"],"cluster_id":500,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9337","html":"https://vulnwatch.ve1ve2.com/item/9337"}}]}