Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 7.5GHSA-555j-qj3j-c8jvCVE-2026-132275

CVE-2026-132275: svglib: Exponential resource consumption via nested <use> references in svg2rlg

deeplook svglib

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-132275: vulnerabilidad de severidad alta (CVSS 7.5) en deeplook svglib.

Qué ocurre

Descripción original de la fuente (en inglés): 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.

Por qué importa

Severidad alta, CVSS 7.5.

Productos y versiones afectados

svglib <= 2.3.0 (corregido en 2.3.1); deeplook svglib < 2.3.1

ProductoVersionesCorregido en
svglib<= 2.3.02.3.1
deeplook svglib< 2.3.1—

Acción recomendada por la fuente

Actualizar a una versión corregida: 2.3.1.

Corregido en: 2.3.1

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-400, CWE-776

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.