UBUNTU-CVE-2026-132275

Source
https://ubuntu.com/security/CVE-2026-132275
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-132275.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-132275
Upstream
Published
2026-11-20T17:18:00Z
Modified
2026-11-25T17:45:50Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (Source: CNA) CVSS Calculator
  • Ubuntu - medium (Source: SELF)
Summary
[none]
Details

svglib reads SVG files and converts them to other formats. Prior to 2.3.1, the svg2rlg() renderer recursively expands nested SVG 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.

References

Affected packages

Ubuntu:22.04:LTS / python-svglib

Package

Name
python-svglib
Purl
pkg:deb/ubuntu/python-svglib?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.1.0+dfsg-2
1.1.0+dfsg-3
1.2.0+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-svglib",
            "binary_version":  "1.2.0+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-132275.json"

Ubuntu:24.04:LTS / python-svglib

Package

Name
python-svglib
Purl
pkg:deb/ubuntu/python-svglib?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.1+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-svglib",
            "binary_version":  "1.4.1+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-132275.json"

Ubuntu:26.10 / python-svglib

Package

Name
python-svglib
Purl
pkg:deb/ubuntu/python-svglib?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.5.1+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-svglib",
            "binary_version":  "1.5.1+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-132275.json"

Ubuntu:26.04:LTS / python-svglib

Package

Name
python-svglib
Purl
pkg:deb/ubuntu/python-svglib?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.5.1+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-svglib",
            "binary_version":  "1.5.1+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-132275.json"