Convert::ASN1 versions before 0.37 for Perl contain a vulnerability where zero-length BIT STRING content can cause memory exhaustion. This occurs because a BIT STRING with zero content octets leads to a negative length parameter in a substring operation, causing Perl to read excessive input data repeatedly. An attacker controlling the decoded data can exploit this to exhaust system memory with relatively short input.