CVE-2026-131868
Convert-ASN1 memory exhaustion via unchecked length in BER parsing
An attacker can crash a process by sending a crafted BER header that forces a single huge memory allocation.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: CISA-ADP
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-131868 divulgada · CVSS 7.5 (CISA-ADP) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Convert::ASN1 for Perl, before version 0.37, lets an attacker exhaust memory by sending a crafted BER header that declares an element length of up to 4GB, which the software passes unchecked to sysread and allocates before any data arrives. A single such header can make the reading process allocate that much memory, and if the allocation fails, perl exits with "Out of memory" in a way that eval cannot catch.
Descripción original del registro (CPANSec)
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Convert-ASN1 |
Corregida | 0.37 | — | — |
0.37Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/cpan-authors/perl-Convert-ASN1/commit/88bd86b5a3ce3430ebb8b78fe5307f234198bf16.patchhttps://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changesLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
