
CVE catalog
CVE-2026-31899
cairosvg: CVE-2026-31899
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.51% · Oct 25, 2026
CairoSVG is an SVG converter based on Cairo, a 2D graphics library. Prior to Kozea/CairoSVG has exponential denial of service via recursive <use> element amplification in cairosvg/defs.py. This causes CPU exhaustion from a small input.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cairosvg | sid | 2.9.1-1 | vulnerable |
| Debian | cairosvg | forky | 2.9.1-1 | vulnerable |
| Debian | cairosvg | trixie | 2.7.1-2 | vulnerable |
| Debian | cairosvg | bookworm | 2.5.2-1.1+deb12u1 | vulnerable |
| Pip | CairoSVG | Not reported | 2.9.0 | fixed |
| PyPI | cairosvg | Not reported | 2.9.0 | fixed |
| Opensuse | ansible-creator | tumbleweed | 26.8.0-1.1 | fixed |
| Suse | python-CairoSVG | linux enterprise server 16.0 | 2.7.1-160000.3.1 | fixed |
| Suse | python-CairoSVG | linux enterprise server for sap applications 16.0 | 2.7.1-160000.3.1 | fixed |
| Suse | python-CairoSVG | linux enterprise module for python 3 15 sp7 | 2.7.1-150400.9.6.1 | fixed |
| Opensuse | python-CairoSVG | leap 15.6 | 2.7.1-150400.9.6.1 | fixed |
| Opensuse | python-CairoSVG | tumbleweed | 2.9.0-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cairosvg | source | sid | (unfixed) | not yet assigned | Not reported | [1130748] |
| Debian | cairosvg | source | forky | (unfixed) | not yet assigned | Not reported | [1130748] |
| Debian | cairosvg | source | trixie | (unfixed) | not yet assigned | Not reported | [1130748] |
| Debian | cairosvg | source | bookworm | (unfixed) | not yet assigned | Not reported | [1130748] |
| Pip | CairoSVG | pip | Not reported | 2.9.0 | Not reported | Not reported | Not reported |
| PyPI | cairosvg | PyPI | Not reported | 2.9.0 | Not reported | PYSEC-2026-2122 | Not reported |
| Opensuse | ansible-creator | rpm | tumbleweed | 26.8.0-1.1 | Not reported | OPENSUSE-SU-2026:11729-1 | Not reported |
| Suse | python-CairoSVG | rpm | linux enterprise server 16.0 | 2.7.1-160000.3.1 | Not reported | SUSE-SU-2026:22024-1 | Not reported |
| Suse | python-CairoSVG | rpm | linux enterprise server for sap applications 16.0 | 2.7.1-160000.3.1 | Not reported | SUSE-SU-2026:22024-1 | Not reported |
| Suse | python-CairoSVG | rpm | linux enterprise module for python 3 15 sp7 | 2.7.1-150400.9.6.1 | Not reported | SUSE-SU-2026:1421-1 | Not reported |
| Opensuse | python-CairoSVG | rpm | leap 15.6 | 2.7.1-150400.9.6.1 | Not reported | SUSE-SU-2026:1421-1 | Not reported |
| Opensuse | python-CairoSVG | rpm | tumbleweed | 2.9.0-1.1 | Not reported | OPENSUSE-SU-2026:10379-1 | Not reported |
Notes
[trixie] cairosvg: Minor issue [bookworm] cairosvg: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [cairosvg]Affected
Details (2)
2.5.2-1.1+deb12u1· all · bookwormAffected
dsa · cairosvg · debian · bookworm; dsa · cairosvg · debian · 12
2.5.2-1.1+deb12u1· all · bookwormAffected
dsa · cairosvg · debian · bookworm; dsa · cairosvg · debian · 12
- [python3-cairosvg]Affected
Source package: [cairosvg]
Details (2)
2.5.2-1.1+deb12u1· all · bookwormAffected
dsa · cairosvg · debian · bookworm; dsa · cairosvg · debian · 12
2.5.2-1.1+deb12u1· all · bookwormAffected
dsa · cairosvg · debian · bookworm; dsa · cairosvg · debian · 12
[Debian 13 (Trixie)]
- [cairosvg]Affected
Details (2)
2.7.1-2· all · trixieAffected
dsa · cairosvg · debian · 13
2.7.1-2· all · trixieAffected
dsa · cairosvg · debian · 13
- [python3-cairosvg]Affected
Source package: [cairosvg]
Details (2)
2.7.1-2· all · trixieAffected
dsa · cairosvg · debian · 13
2.7.1-2· all · trixieAffected
dsa · cairosvg · debian · 13
[openSUSE Tumbleweed]
- [ansible-creator]Affected
Source package: [ansible-creator]
Details (1)
26.3.3-1.2· noarch · tumbleweedAffected · Fixed:
26.8.0-1.1dsa · ansible-creator · opensuse · tumbleweed
- [python313-CairoSVG]Unknown
Source package: [python-CairoSVG]
Details (1)
2.9.0-1.3· noarch · tumbleweedUnknown · Fixed:
2.9.0-1.1Version impact unknown
dsa · python-CairoSVG · opensuse · tumbleweed
- [python314-CairoSVG]Unknown
Source package: [python-CairoSVG]
Details (1)
2.9.0-1.3· noarch · tumbleweedUnknown · Fixed:
2.9.0-1.1Version impact unknown
dsa · python-CairoSVG · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11729-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-31899]
- [https://osv.dev/vulnerability/PYSEC-2026-2122]
- [https://osv.dev/vulnerability/SUSE-SU-2026:1421-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22024-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10379-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11729-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-31899]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31899.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]