Catalogo CVE

CVE-2026-132275

python-svglib affected and fixed versions

[Catalogo CVE]

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.

Gravità
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.06% · Dec 4, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Opensusetumbleweedpython-svglib2.4.0-1.1Fixed[OPENSUSE-SU-2026:12699-1]
More observations (14)
Distribution / releasePackageVersionStatusSource
Debianbookwormpython-svglibNot reportedAffectedDistribution reports no fix[CVE-2026-132275]
Debianbookwormpython-svglib1.4.1+dfsg-1Affected[CVE-2026-132275]
Debianforkypython-svglibNot reportedAffectedDistribution reports no fix[CVE-2026-132275]
Debianforkypython-svglib1.5.1+dfsg-1Affected[CVE-2026-132275]
Debiansidpython-svglibNot reportedAffectedDistribution reports no fix[CVE-2026-132275]
Debiansidpython-svglib1.5.1+dfsg-1Affected[CVE-2026-132275]
Debiantrixiepython-svglibNot reportedAffectedDistribution reports no fix[CVE-2026-132275]
Debiantrixiepython-svglib1.5.1+dfsg-1Affected[CVE-2026-132275]
Ubuntu22.04python-svglib1.1.0+dfsg-2Affected[UBUNTU-CVE-2026-132275]
Ubuntu22.04python-svglib1.1.0+dfsg-3Affected[UBUNTU-CVE-2026-132275]
Ubuntu22.04python-svglib1.2.0+dfsg-1Affected[UBUNTU-CVE-2026-132275]
Ubuntu24.04python-svglib1.4.1+dfsg-1Affected[UBUNTU-CVE-2026-132275]
Ubuntu26.04python-svglib1.5.1+dfsg-1Affected[UBUNTU-CVE-2026-132275]
Ubuntu26.10python-svglib1.5.1+dfsg-1Affected[UBUNTU-CVE-2026-132275]

[Debian bug #1155146]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-svglib]Interessata

    Pacchetto sorgente: [python-svglib]

    Dettagli (2)
    • 1.4.1+dfsg-1 · all · bookworm

      Interessata

      dsa · python-svglib · debian · bookworm; pypi · python-svglib · debian · 12

    • 1.4.1+dfsg-1 · all · bookworm

      Interessata

      dsa · python-svglib · debian · bookworm; pypi · python-svglib · debian · 12

[Debian 13 (Trixie)]

  • [python3-svglib]Interessata

    Pacchetto sorgente: [python-svglib]

    Dettagli (2)
    • 1.5.1+dfsg-1 · all · trixie

      Interessata

      pypi · python-svglib · debian · 13

    • 1.5.1+dfsg-1 · all · trixie

      Interessata

      pypi · python-svglib · debian · 13

[openSUSE Tumbleweed]

  • [python313-svglib]Sconosciuto

    Pacchetto sorgente: [python-svglib]

    Dettagli (1)
    • 1.6.0-1.5 · noarch · tumbleweed

      Sconosciuto · Corretta: 2.4.0-1.1

      Version impact unknown

      pypi · python-svglib · opensuse · tumbleweed

  • [python314-svglib]Sconosciuto

    Pacchetto sorgente: [python-svglib]

    Dettagli (1)
    • 1.6.0-1.5 · noarch · tumbleweed

      Sconosciuto · Corretta: 2.4.0-1.1

      Version impact unknown

      pypi · python-svglib · opensuse · tumbleweed

Osservato:

Riferimenti