SecurityContext

CVE-2026-132275: svglib - Denial of Service

  • Cve: CVE-2026-132275
  • Name: svglib - Denial of Service
  • 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.
  • Impact: Attackers can cause excessive CPU and memory consumption, leading to denial of service in applications rendering the SVG.
  • Remediation: Upgrade to version 2.3.1 or later.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.0106
  • Epss percentile: 0.65233
  • Assignee: [email protected]
  • Published at: 2026-11-20T17:18:12Z
  • Age in days: 4
  • Modified at: 2026-11-20T19:18:46Z
  • Public exploits total: 1
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-132275
  • Nvd status: received
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, products total, products, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption

Public exploits

UrlSourceAdded date
https://github.com/googlesky/CVE-2026-132275poc-in-github2026-11-21

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/deeplook/svglib/commit/7380d3c3836940fd75f8e203fff80077b7d5a425
https://github.com/deeplook/svglib/releases/tag/v2.3.1
https://github.com/deeplook/svglib/security/advisories/GHSA-555j-qj3j-c8jv

Projects

RepositoryLink kindsIndexedUrl
deeplook/svglibcommit, package, releases, security_advisoryyes/v1/repositories/deeplook/svglib

Index

  • Repositories: 28
  • Repositories high signal: 18
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-11-21
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts