CPU Exhaustion Vulnerability in Convert::ASN1 for Perl
CVE-2026-126576
What is CVE-2026-126576?
The Convert::ASN1 library for Perl, prior to version 0.37, is susceptible to a CPU exhaustion vulnerability stemming from unchecked exponent length during binary REAL decoding. This flaw allows an attacker to craft input that leads to excessive CPU usage as the library fails to properly restrict the exponent length against the available content. In particular, an attacker can exploit this vulnerability by manipulating the mantissa length calculation, resulting in a situation where CPU resources are substantially drained. The vulnerability emerges when binary REAL decoding reads the exponent byte from outside the designated element, causing potential negative offsets in mantissa length calculations and excessive processing loops over the remaining input. Users are encouraged to upgrade to the latest version to mitigate this issue.
