Convert-ASN1に、細工されたデータでCPUを使い果たされる脆弱性
Summary
Perl向けモジュールのConvert-ASN1は、0.37より前のバージョンでOBJECT IDENTIFIERの処理に制限のない長さのアークを受け付けるため、CPUを使い果たされるおそれがあります。対象は0.37より前の版で、0.37で修正されています。Convert-ASN1を0.37以上に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Perl向けモジュールのConvert-ASN1は、0.37より前のバージョンでOBJECT IDENTIFIERの処理に制限のない長さのアークを受け付けるため、CPUを使い果たされるおそれがあります。対象は0.37より前の版で、0.37で修正されています。Convert-ASN1を0.37以上に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANConvert-ASN1 |
< 0.37→ 0.37 |
0.37 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-131877 perl-convert-asn1 Fix available
- Debian DEBIAN-CVE-2026-131877 libconvert-asn1-perl Fix available
- Ubuntu UBUNTU-CVE-2026-131877 libconvert-asn1-perl No fixed version in this record
Original description The description as published by the source.
Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unbounded arc length in OBJECT IDENTIFIER decoding and encoding.
The content of an OBJECT IDENTIFIER or RELATIVE-OID element is passed to unpack "w*" on decode, and the arcs of an OID string to pack "w*" on encode. Perl converts each arc to or from its decimal string in time quadratic in the arc's length, and nothing limits that length.
An attacker who controls the decoded data, or an OID string passed to encode, can exhaust CPU with a single oversized arc.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web metacpan.org
- web github.com
- web cpan.org
- web nvd.nist.gov
- web github.com