llamaCVEVulnerability Intelligence
/
Convert-ASN1

CVE-2026-126568

Convert-ASN1 memory exhaustion in asn_recv peek buffer

A single truncated BER header sent to a process calling asn_recv can exhaust its memory and crash it.

UnclearParche disponibleinfinite loop
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: CISA-ADP
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión0.37
Exposición1 dDesde la divulgación, 19 nov 2026, 7:23 p. m.
Detección9 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: NIST NVD
Fuente: ENISA EUVD +1
07:23 p. m.
08:25 p. m.
01:52 p. m.
02:00 p. m.
03:12 a. m.
07:23 p. m.
03:20 a. m.
11:17 a. m.
07:14 p. m.
03:12 a. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-126568 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 Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 19 nov 2026

Convert::ASN1 for Perl can be made to exhaust memory by sending a single truncated BER header to a process that calls asn_recv. The function keeps doubling its peek buffer until memory runs out, and Perl's resulting failure cannot be caught with eval.

¿Qué significa?Convert::ASN1 for Perl can run out of memory when asn_recv reads BER data from a socket. A truncated or oversized BER length header makes the buffer keep doubling, so the process calling asn_recv can exhaust its memory and fail.
¿Quién está afectado?Convert-ASN1 (Perl) versions before 0.37 are affected, and the issue is in the asn_recv path that reads BER data from a socket. To check a installed copy, look at the Convert::ASN1 version reported by your Perl module tooling, such as perl -MConvert::ASN1 -e 'print $Convert::ASN1::VERSION'.
¿Qué hacer?Upgrade Convert-ASN1 to version 0.37 or later, which is the fixed version listed for this vulnerability. No vendor patch identifiers are given beyond that release.
Descripción original del registro (CPANSec)

Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via unbounded MSG_PEEK buffer doubling in asn_recv. asn_recv peeks the socket in a loop, doubling the buffer size on each pass until a tag and length can be decoded. An inverted boolean guard ($tb || rather than $tb &&) prevents the need-more-data exit from firing once a tag byte has been decoded. When asn_decode_length returns no value because the length is absent or incomplete, no exit fires for that case either. MSG_PEEK leaves socket data unconsumed, so each re-peek returns at once while the buffer size doubles. A single truncated BER header sent to a process calling asn_recv doubles the peek buffer until memory is exhausted. Perl's realloc failure is fatal and not catchable with eval.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Convert-ASN1 (Perl) versions before 0.37 are affected.“Upgrade to Convert-ASN1 0.37 or later.”
02
The affected code path is asn_recv reading BER data from a socket.“Fix CVE-2026-126568: asn_recv OOM on truncated or oversized BER header”
¿Quién debe revisar?Teams running Convert::ASN1 (Convert-ASN1) for Perl before 0.37, especially those whose processes call asn_recv on sockets.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CISA-ADP
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
Convert-ASN1< 0.37
0.37
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Convert-ASN1
Corregida 0.37 — —
Versiones corregidas0.37
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
solutionUpgrade to Convert-ASN1 0.37 or later.CPANSec
Referencias
Parchehttps://github.com/cpan-authors/perl-Convert-ASN1/commit/a30eae1dc6a977716b76f79f228fa0432e28bc5a.patch
Reportehttps://github.com/cpan-authors/perl-Convert-ASN1/issues
Otrahttps://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.