Integer Encoding Vulnerability in Convert::ASN1 for Perl
CVE-2026-126682
Currently unrated
What is CVE-2026-126682?
The Convert::ASN1 module for Perl contains a vulnerability that allows for CPU exhaustion through the use of improperly validated exponent-notation strings in INTEGER encoding. When values exceed the threshold of abs >= 2**31, the encoder fails to check for integer validity, allowing attackers to input a simple exponent-notation string like '1e8000'. This string generates an extremely large integer of over 8001 digits. The conversion method employed by i2osp is inefficient, leading to a quadratic execution time relative to the size of the integer. Consequently, an attacker capable of controlling encoded INTEGER values can induce significant CPU load, resulting in potential denial-of-service conditions.
