CVE-2026-132275: Python svglib · svglib reads SVG files and converts them to other formats
Affects python-svglibSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 2.3.1 soon.
Data as of 25 Nov 2026, 23:37 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 2.3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade svglib to 2.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 22.04 LTSpython-svglibpkg:deb/ubuntu/python-svglib?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython-svglibpkg:deb/ubuntu/python-svglib?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 26.10python-svglibpkg:deb/ubuntu/python-svglib?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython-svglibpkg:deb/ubuntu/python-svglib?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
PyPIsvglibpkg:pypi/svglibOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade python-svglib to version 2.3.1 or later, where this issue is fixed. Until then, avoid rendering untrusted SVG files or use non-default options that limit recursive expansion of <use> references if available.
Description
A vulnerability in python-svglib prior to version 2.3.1 allows crafted SVG files with nested <use> references to cause exponential node expansion during rendering. This leads to excessive CPU and memory consumption, impacting availability. The issue affects applications that render SVGs without using a non-default option to limit expansion, including HTML-to-PDF workflows using xhtml2pdf. The vulnerability is fixed in version 2.3.1.
References
- ubuntu.com/security/CVE-2026-132275 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-132275 (opens in a new tab)
- github.com/deeplook/svglib/commit/7380d3c3836940fd75f8e203fff80077b7d5a425 (opens in a new tab)
- github.com/deeplook/svglib/releases/tag/v2.3.1 (opens in a new tab)
- github.com/deeplook/svglib/security/advisories/GHSA-555j-qj3j-c8jv (opens in a new tab)