Memory Exhaustion Vulnerability in Convert::ASN1 for Perl
CVE-2026-126568

Currently unrated

Key Information:

Vendor

CPAN

Status
Vendor
CVE Published:
20 November 2026

What is CVE-2026-126568?

The Convert::ASN1 library for Perl is susceptible to a memory exhaustion vulnerability due to improper handling of socket data in the asn_recv function. This issue arises when the function loops indefinitely, doubling the buffer size upon each MSG_PEEK call until the system runs out of memory. The faulty logic within the exit condition allows the loop to continue when it should terminate, especially when encountering a truncated BER header. As a result, a single malformed packet can lead to critical performance degradation and system instability, making this vulnerability a significant concern for users relying on this library. Immediate patching to version 0.37 or later is highly recommended to mitigate potential risks.

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.