---
title: "CVE-2026-126682"
canonical_url: "https://pkgseek.com/security/CVE-2026-126682"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-126682

Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via exponent-notation string in INTEGER encoding.  The encoder routes any value with abs &gt;= 2**31 to i2osp without validating that it is an integer. A string in exponent notation such as "1e8000" passes that threshold. Math::BigInt expands it to an 8001-digit integer, and i2osp's per-octet conversion loop is quadratic in that size.  An attacker who controls encoded INTEGER values can exhaust CPU with a short exponent-notation string.

CVE-2026-126682 is rated HIGH (7.5), with 4 indexed affected package builds across 2 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 4
- **Affected distros**: 2
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libconvert-asn1-perl | 0.34-1 | — |
| Ubuntu | focal | libconvert-asn1-perl | 0.27-2 | — |
| Ubuntu | jammy | libconvert-asn1-perl | 0.33-1 | — |
| Ubuntu | noble | libconvert-asn1-perl | 0.34-1 | — |
