Skip to main content
VulnerabilityPublished Updated

CVE-2026-132275: Python svglib · svglib reads SVG files and converts them to other formats

Affects python-svglibSource GCVE Database

0
Compare
Authoritative record:CVE-2026-132275· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 2.3.1 soon.

Data as of 25 Nov 2026, 23:37 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 22.04 LTSpython-svglibpkg:deb/ubuntu/python-svglib?arch=source&distro=jammyOther threatsAffected
  • =1.1.0+dfsg-2
  • =1.1.0+dfsg-3
  • =1.2.0+dfsg-1
Fixed in–
Ubuntu 24.04 LTSpython-svglibpkg:deb/ubuntu/python-svglib?arch=source&distro=nobleOther threatsAffected
  • =1.4.1+dfsg-1
Fixed in–
Ubuntu 26.10python-svglibpkg:deb/ubuntu/python-svglib?arch=source&distro=stonkingOther threatsAffected
  • =1.5.1+dfsg-1
Fixed in–
Ubuntu 26.04 LTSpython-svglibpkg:deb/ubuntu/python-svglib?arch=source&distro=resoluteOther threatsAffected
  • =1.5.1+dfsg-1
Fixed in–
PyPIsvglibpkg:pypi/svglibOther threatsAffected
  • <2.3.1
Fixed in
  • 2.3.1

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

Community reviews

Loading reviews…