kcve.ai취약점 정보 · 내 자산 확인

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

설명

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.

영향 받는 제품 제품 1개

  • deeplook

    svglib

    해결 버전 있음

    영향 받는 버전

    • 2.3.1 미만

    해결 버전

    • 2.3.1 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의