CVE-2026-31899
published high CVSS 3.1 · 7.5CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Kozea | — | CairoSVG< 2.9.0 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | py3-cairosvg | Fixed | 2.9.0-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP7 | python311-CairoSVGnoarch | Advisory build | 2.7.1-150400.9.6.1 | SUSE-SU-2026:1421-1 |
| Alpine Linux | v3.23 | py3-cairosvg | Fixed | 2.9.0-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-cairosvg | Fixed | 2.9.0-r0 | Package fix record |
| SUSE / openSUSE | SLE-16 | python313-CairoSVGnoarch | Advisory build | 2.7.1-160000.3.1 | SUSE-SU-2026:22024-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-CairoSVGnoarch | Advisory build | 2.7.1-150400.9.6.1 | SUSE-SU-2026:1421-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-CairoSVGnoarch | Advisory build | 2.7.1-150400.9.6.1 | SUSE-SU-2026:1421-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-CairoSVGnoarch | Advisory build | 2.7.1-160000.3.1 | OPENSUSE-SU-2026:20886-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-creatoraarch64 | Advisory build | 26.8.0-1.1 | OPENSUSE-SU-2026:11729-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-creatorppc64le | Advisory build | 26.8.0-1.1 | OPENSUSE-SU-2026:11729-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-creators390x | Advisory build | 26.8.0-1.1 | OPENSUSE-SU-2026:11729-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-creatorx86_64 | Advisory build | 26.8.0-1.1 | OPENSUSE-SU-2026:11729-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-CairoSVGaarch64 | Advisory build | 2.9.0-1.1 | OPENSUSE-SU-2026:10379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-CairoSVGppc64le | Advisory build | 2.9.0-1.1 | OPENSUSE-SU-2026:10379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-CairoSVGs390x | Advisory build | 2.9.0-1.1 | OPENSUSE-SU-2026:10379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-CairoSVGx86_64 | Advisory build | 2.9.0-1.1 | OPENSUSE-SU-2026:10379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-CairoSVGaarch64 | Advisory build | 2.9.0-1.1 | OPENSUSE-SU-2026:10379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-CairoSVGppc64le | Advisory build | 2.9.0-1.1 | OPENSUSE-SU-2026:10379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-CairoSVGs390x | Advisory build | 2.9.0-1.1 | OPENSUSE-SU-2026:10379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-CairoSVGx86_64 | Advisory build | 2.9.0-1.1 | OPENSUSE-SU-2026:10379-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Kozea | CairoSVG | < 2.9.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-674 CWE-674: Uncontrolled Recursion
References
2Provider assertions
2GitHub_M · cna
CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- edd54227d9fdaa0d22fc67a3c29465444088235e4b3bc35c3dd0798bac778272
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record