<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-11-21T04:27:17.896641+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/fkie_cve-2026-132275</id>
    <title>fkie_cve-2026-132275</title>
    <updated>2026-11-21T04:27:17.898288+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>svglib reads SVG files and converts them to other formats. Prior to 2.3.1, the svg2rlg() renderer recursively expands nested SVG &lt;use&gt; 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.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-132275"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-555j-qj3j-c8jv</id>
    <title>GHSA-555j-qj3j-c8jv — svglib: Exponential resource consumption via nested &lt;use&gt; references in svg2rlg</title>
    <updated>2026-11-21T04:27:17.898381+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: svglib</p>
<p># Summary</p>
<p>`svg2rlg()` expands `&lt;use&gt;` references without any limit on the total number of expansions. Only direct cycles are rejected (`CircularRefError`). A group containing N `&lt;use&gt;` elements that point to another such group multiplies the work by N per nesting level, so an SVG of about 1.4 KB makes svglib clone and render over 100,000 nodes, taking tens of seconds of CPU time and hundreds of MiB of memory. Each additional level adds about 245 bytes to the document and multiplies time by ~10.</p>
<p>This is the SVG `&lt;use&gt;` variant of the XML "billion laughs" attack (the same class as librsvg CVE-2019-20446).</p>
<p># Details</p>
<p>`SvgRenderer.renderUse()` in `src/svglib/svglib.py`:</p>
<p>```python
try:
    item = self.xlink_href_target(node, group=group)
except CircularRefError:
    node.parent.etree_element.remove(node.etree_element)
    return group
...
if len(node.getchildren()) == 0:
    # Append a copy of the referenced node as the &lt;use&gt; child (if not
    # already done)
    node.append(copy.deepcopy(item))
self.renderNode(list(node.iter_children())[-1], parent=group)
```</p>
<p>The referenced node is deep-copied under the `&lt;use&gt;` element and rendered. Any `&lt;use&gt;` elements inside the copied subtree go through `renderUse()` again. `xlink_href_target()` raises `CircularRefError` only for a direct cycle, so a reference DAG with fan-out is expanded fully: `fan ** levels` renders.</p>
<p>Payload shape (fan = 10, levels = 5):</p>
<p>```xml
&lt;svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-555j-qj3j-c8jv"/>
  </entry>
</feed>
