Memory Exhaustion Vulnerability in Convert::ASN1 for Perl
CVE-2026-126819
Currently unrated
What is CVE-2026-126819?
The Convert::ASN1 module for Perl has a vulnerability that allows an attacker to exploit zero-length BIT STRING content, leading to significant memory exhaustion. When a BIT STRING with no content octets is processed, it forces the substr function to read a negative length, which Perl interprets as an offset from the end of the string rather than as an invalid request. Consequently, this results in excessive memory usage, as each zero-length segment effectively multiplies the memory allocated. Attackers can thus craft malicious inputs to exhaust available memory resources, potentially leading to denial of service by exhausting memory on the affected system.
