Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

CVE-2026-132275

svglib: svglib: Denial of Service (DoS) via nested SVG references

Overview

Published
20 Nov 2026
Modified
20 Nov 2026
High CVE
1 Registry packages
3 OS packages
3 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Am I affected?

Answer a few questions about your setup. Everything stays in your browser.

Turn on JavaScript to answer the questions.

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-400, CWE-776

Affected packages · 1

Packages affected by CVE-2026-132275
EcosystemPackageVulnerableFixed in
PyPI svglib <2.3.1 2.3.1

Open a package to see all its vulnerabilities.

Operating systems · 5 fixes

debian 3 releases · 1 package

affected 3
python-svglib
debian fixes for CVE-2026-132275
ReleasePackageFixed in
12 python-svglib affected
13 python-svglib affected
14 python-svglib affected

echo 1 release · 1 package

affected 1
python-svglib
echo fixes for CVE-2026-132275
ReleasePackageFixed in
python-svglib affected

openSUSE 1 release · 1 package

fixed 1
python313-svglib
openSUSE fixes for CVE-2026-132275
ReleasePackageFixed inAdvisory
Tumbleweed python313-svglib +1 2.4.0-1.1 openSUSE-SU-2026:12699-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Powered by Read the latest findings
Frame 2085668530
Group 1261154229