PT-2026-152360
CVE-2026-126568
·
Published
2026-11-20
·
Updated
2026-11-20
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Convert::ASN1 versions prior to 0.37
Description
An issue exists in the
asn recv() function where memory exhaustion can occur due to unbounded buffer doubling when using MSG PEEK. The function peeks the socket in a loop, doubling the buffer size on each pass until a tag and length are decoded. An inverted boolean guard prevents the need-more-data exit from triggering after a tag byte is decoded. Additionally, if asn decode length() returns no value due to an absent or incomplete length, no exit is triggered. Since MSG PEEK does not consume socket data, each subsequent peek returns immediately while the buffer continues to double. A single truncated BER (Basic Encoding Rules) header can trigger this process until memory is exhausted, leading to a fatal realloc failure in Perl that cannot be caught with eval.Recommendations
Update to version 0.37 or later.
As a temporary workaround, restrict the use of the
asn recv() function when processing untrusted network input. Found an issue in the description? Have something to add? Feel free to write us 👾