CVE-2026-126540
Convert-ASN1 CPU exhaustion via quadratic loop in os2ip
An attacker can send one oversized INTEGER value in data being decoded to consume excessive CPU.
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-126540 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 |
Convert::ASN1 for Perl, in versions before 0.37, can be made to use excessive CPU when decoding a single oversized INTEGER or ENUMERATED value, because a quadratic bigint loop in os2ip has no limit on content length. An attacker who controls the data being decoded could cause this slowdown and exhaust CPU.
Descripción original del registro (CPANSec)
Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via quadratic bigint loop in os2ip. Every INTEGER or ENUMERATED longer than four content octets reaches os2ip, which iterates over each content octet with $result = ($result * 256) + $octet. Each multiplication operates on a bigint that grows by one octet per step, so decoding an n-octet value takes O(n^2) bigint work. Nothing limits content length before this loop runs. An attacker who controls the decoded data can exhaust CPU with a single oversized INTEGER or ENUMERATED value.
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/49b362c527e0af05fca9be1e97e4a340d95afa75.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.
