CVE-2026-132275deeplook svglib
High 7.5 No auth needed
Follow: this CVE · deeplook · deeplook svglib We alert you by email or Slack (account required).
- Priority
- 65
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for svglib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | svglib |
< 2.3.1 |
2.3.1 |
pip install "svglib>=2.3.1" |
Per OSV / GitHub Advisories (GHSA-555j-qj3j-c8jv). Check the version in your lockfile before upgrading.
Affected products
- deeplook · svglib
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-svglib-2.4.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12699-1 · Nov 26, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.