llamaCVEVulnerability Intelligence
/
svglib

CVE-2026-132275

svglib denial of service via nested SVG use references in svg2rlg

An attacker can send a small crafted SVG file that exhausts CPU and memory when rendered.

Texto original en inglés · Ver en español

Afecta la configuración por defectoParche disponibledenial of service
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: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos11 fuente
Parche1 versiónPrimer parche a -29 d de la divulgación
Exposición1 dDesde la divulgación, 20 nov 2026, 12:04 p. m.
Detección13 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Yo la vigilo, tú la programas. ¿Trato?Esto amerita una regla de detección, por si acaso.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 2.3.1
Monitoreo
Detectada +1
Fuente: PoC-in-GitHub +1
22 oct 26
20 nov 26
21 nov 26
22 oct 26
30 oct 26
6 nov 26
14 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.3.1 svglib · -29 d desde divulgación
Divulgación Publicada CVE-2026-132275 divulgada · CVSS 7.5 (CNA)
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 PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: PoC-in-GitHub Registro visto por primera vez en PoC-in-GitHub
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 20 nov 2026

The svglib library from deeplook is affected: a small, attacker-crafted SVG file with nested `<use>` references can make the svg2rlg() renderer expand exponentially, consuming excessive CPU and memory. An attacker can deliver the file remotely, without logging in or any user action, when an application renders it.

Affects svglib 2.3.0 and earlier when it renders SVG from an untrusted source, including through xhtml2pdf. No vendor rating is given. Fixed in svglib 2.3.1.

¿Qué significa?Nested <use> references in an SVG can make svglib's svg2rlg conversion expand exponentially. A small crafted SVG can then consume large amounts of CPU and memory, causing denial of service.
¿Quién está afectado?svglib 2.3.0 and earlier are affected, verified on 2.3.0 and 1.5.1. The risk applies where an application renders SVG from an untrusted source with svglib, including xhtml2pdf when an HTML img with a data:image/svg+xml image is passed to pisa.CreatePDF(). To check, look at the installed svglib version.
¿Qué hacer?Upgrade svglib to 2.3.1 or later, which is the listed fixed version.
Descripción original del registro (GitHub_M)

svglib reads SVG files and converts them to other formats. Prior to 2.3.1, the svg2rlg() renderer recursively expands nested SVG <use> references by deep-copying each referenced subtree; SvgRenderer.renderUse() in src/svglib/svglib.py calls xlink_href_target(), which rejects direct cycles but permits acyclic reference graphs with repeated fan-out. A small attacker-controlled SVG can therefore trigger exponentially increasing node expansion, consuming excessive CPU and memory in any application that renders it without a non-default option; HTML-to-PDF workflows using xhtml2pdf can reach the same renderer when an embedded data:image/svg+xml image in an HTML img element is passed to pisa.CreatePDF(). This issue is fixed in 2.3.1.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects svglib 2.3.0 and earlier“<= 2.3.0 (verified on 2.3.0 and 1.5.1)”
02
Application renders untrusted SVG with svglib“any application that renders SVG from an untrusted source with svglib”
03
Reached via xhtml2pdf: an HTML img with a data:image/svg+xml image is passed to pisa.CreatePDF()“passed to pisa.CreatePDF() triggers the expansion”
¿Quién debe revisar?Teams running svglib 2.3.0 or earlier to render untrusted SVG (thumbnails, SVG-to-PDF, reports), and xhtml2pdf users converting HTML with embedded SVG images.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
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 Última
svglib< 2.3.1
2.3.1
2.4.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypisvglib
Corregida 2.3.1 -29 d 2.4.0 no afectada
Versiones corregidas2.3.1
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
googlesky/CVE-2026-132275
1
Ver los 1 repositorios de GitHub
googlesky/CVE-2026-132275

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://github.com/deeplook/svglib/security/advisories/GHSA-555j-qj3j-c8jv
Exploithttps://github.com/googlesky/CVE-2026-132275
Otrahttps://github.com/deeplook/svglib/commit/7380d3c3836940fd75f8e203fff80077b7d5a425
Otrahttps://github.com/deeplook/svglib/releases/tag/v2.3.1

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