Convert::ASN1に細工されたデータでメモリを枯渇させられる脆弱性
Summary
Perl用モジュールConvert::ASN1の0.37より前のバージョンには、入れ子の深さに上限がないため、細工された文字列データを処理するとメモリを使い果たされる脆弱性があります。被害を防ぐには、修正版の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より前のバージョンには、入れ子の深さに上限がないため、細工された文字列データを処理するとメモリを使い果たされる脆弱性があります。被害を防ぐには、修正版の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-126956 perl-convert-asn1 Fix available
- Debian DEBIAN-CVE-2026-126956 libconvert-asn1-perl Fix available
- Ubuntu UBUNTU-CVE-2026-126956 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 memory exhaustion via unlimited recursion depth in constructed-form string decoding.
Any constructed-form string element causes the decoder to recurse on the element's contents. The BER encoding controls nesting depth at four bytes per level, with no bound checked. Perl recursion is heap-allocated, so the process grows without a stack crash.
An attacker who controls the decoded data can exhaust memory with a small deeply nested constructed string.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- report github.com
- web cpan.org
- web github.com