Skip to content
High 7.5

Convert-ASN1に攻撃者が巨大な整数値でCPUを使い果たさせられる脆弱性

CVE-2026-126540 First seen on SecPulse

Summary

Perl向けモジュールConvert-ASN1の0.37より前のバージョンには、INTEGERやENUMERATEDの値を処理する際の計算量が大きくなる脆弱性(CVE-2026-126540)があります。攻撃者が細工した巨大な値を1つ送るだけでCPUを使い果たさせられ、サービス停止を招くおそれがあります。修正版の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より前のバージョンには、INTEGERやENUMERATEDの値を処理する際の計算量が大きくなる脆弱性(CVE-2026-126540)があります。攻撃者が細工した巨大な値を1つ送るだけでCPUを使い果たさせられ、サービス停止を招くおそれがあります。修正版の0.37が公開されているので、0.37以降へ更新してください。

Affected packages

PackageAffected → Fixed
CPANConvert-ASN1
< 0.37→ 0.37

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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 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.

An attacker who controls the decoded data can exhaust CPU with a single oversized INTEGER or ENUMERATED value.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details