CVE-2026-126819
Convert-ASN1 memory exhaustion in ASN.1 BIT STRING decoding
An attacker who controls the decoded data can send a short crafted BIT STRING to exhaust memory.
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-126819 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, can be made to exhaust memory when it decodes a BIT STRING with zero content octets; in the constructed form, memory use grows with the square of the input size. An attacker who controls the data being decoded can use a short crafted BIT STRING to exhaust memory, and the decoded value can also include bytes from neighboring input.
Descripción original del registro (CPANSec)
Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via zero-length BIT STRING content. A BIT STRING with zero content octets passes -1 to substr as the length. Perl reads a negative length as an offset from the end of the string, so the decoded value is nearly all of the input that follows the element. In the constructed form each zero-length segment copies the rest of the input again, so memory grows with the square of the input size. An attacker who controls the decoded data can exhaust memory with a short constructed BIT STRING. The resulting value also contains bytes from adjacent input.
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/a369bb1c39061d67454216a6a1d0eae11932806e.patchhttps://github.com/cpan-authors/perl-Convert-ASN1/issueshttps://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changesLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
