🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5976

Bug#1155146: python-svglib: CVE-2026-132275

#5976
From: Moritz Mühlenhoff
Date: Tue, 24 Nov 2026 19:10
36 lines
2998 bytes
Source: python-svglib
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerability was published for python-svglib.

CVE-2026-132275[0]:
| 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.

 https://github.com/deeplook/svglib/security/advisories/GHSA-555j-qj3j-c8jv
 https://github.com/deeplook/svglib/commit/7380d3c3836940fd75f8e203fff80077b7d5a425 (v2.3.1)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-132275
    https://www.cve.org/CVERecord?id=CVE-2026-132275

Please adjust the affected versions in the BTS as needed.
Technical Details
Message-ID: <O343U-dVAz-31@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Moritz Mühlenhoff <jmm@inutil.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155146: python-svglib: CVE-2026-132275
Date: Tue, 24 Nov 2026 20:10:02 +0100
Message-ID: <O343U-dVAz-31@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov 24 19:09:15 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1155146@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, team+python@tracker.debian.org
X-Debian-Pr-Message: report 1155146
X-Debian-Pr-Package: src:python-svglib
X-Debian-Pr-Keywords: security
X-Debian-Pr-Source: python-svglib
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004741
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 36
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 24 Nov 2026 20:08:02 +0100
X-Original-Message-ID: <awXgkpvzw4NgdjiY@pisco.westfalen.local>