Security mailing lists by PureSourceCode

CVE-2026-132275

HIGH 7.5CVSS 3.1

svglib: Exponential resource consumption via nested <use> references in svg2rlg

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.

Published
20 Nov 2026
Last modified
21 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-400CWE-776
Also known as
GHSA-555j-qj3j-c8jv
Sources
NVDJSONCVE ListJSONOSV GHSA-555j-qj3j-c8jvJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List GitHub_M CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List deeplook svglib = < 2.3.1
OSV PyPI svglib < 2.3.1 2.3.1

References

History

  • 25 Nov 2026 20:33 UTC · CVE List: first stored (published 20 Nov 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 20 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.