CVE-2026-131868 Affecting perl-convert-asn1 package, versions <0.37-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.41% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE322-PERLCONVERTASN1-22717552
  • published21 Nov 2026
  • disclosed20 Nov 2026

Introduced: 20 Nov 2026

NewCVE-2026-131868  (opens in a new tab)

How to fix?

Upgrade Alpine:3.22 perl-convert-asn1 to version 0.37-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-convert-asn1 package and not the perl-convert-asn1 package as distributed by Alpine. See How to fix? for Alpine:3.22 relevant fixed versions and status.

Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via a declared element length passed unchecked to sysread in asn_read and asn_get.

The length an element declares in its BER header is passed to sysread as the read size. Perl grows the target buffer to that size before reading, so memory is allocated from the declared length, not from the data received. A 6-byte header can declare a length of up to 4GB.

A single header makes the reading process allocate the declared size. Where the allocation fails, perl exits with "Out of memory", which eval cannot catch.