CVE-2026-107378
published high CVSS 4.0 · 8.7CairoSVG: Quadratic-time DoS parsing a crafted SVG <path>
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Kozea | — | CairoSVG< 2.9.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP4 | python311-CairoSVGnoarch | Advisory build | 2.7.1-150400.9.9.1 | SUSE-SU-2026:4949-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-CairoSVGnoarch | Advisory build | 2.7.1-150400.9.9.1 | SUSE-SU-2026:4949-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-CairoSVGnoarch | Advisory build | 2.7.1-150400.9.9.1 | SUSE-SU-2026:4949-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-CairoSVGnoarch | Advisory build | 2.7.1-150400.9.9.1 | SUSE-SU-2026:4949-1 |
| SUSE / openSUSE | SLE-16 | python313-CairoSVGnoarch | Advisory build | 2.7.1-160000.4.1 | SUSE-SU-2026:24596-1 |
| SUSE / openSUSE | SLE-16 | python313-CairoSVGnoarch | Advisory build | 2.7.1-160100.3.1 | SUSE-SU-2026:24898-1 |
| SUSE / openSUSE | SLE-16 | python313-CairoSVGnoarch | Advisory build | 2.7.1-160100.3.1 | SUSE-SU-2026:24952-1 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-3-SP7 | python311-CairoSVGnoarch | Advisory build | 2.7.1-150400.9.9.1 | SUSE-SU-2026:4949-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-CairoSVGnoarch | Advisory build | 2.7.1-160000.4.1 | OPENSUSE-SU-2026:22182-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-CairoSVGnoarch | Advisory build | 2.7.1-160100.3.1 | OPENSUSE-SU-2026:22433-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-CairoSVGaarch64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2026:12111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-CairoSVGppc64le | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2026:12111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-CairoSVGs390x | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2026:12111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-CairoSVGx86_64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2026:12111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-CairoSVGaarch64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2026:12111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-CairoSVGppc64le | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2026:12111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-CairoSVGs390x | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2026:12111-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-CairoSVGx86_64 | Advisory build | 2.9.1-1.1 | OPENSUSE-SU-2026:12111-1 |
Description
CairoSVG is an SVG converter based on Cairo, a 2D graphics library. Prior to 2.9.1, rendering an attacker-controlled SVG with a path containing many segments can cause quadratic CPU consumption in cairosvg/path.py. The path tokenizer repeatedly slices and rescans the remaining path data, while draw_markers drains node.vertices with node.vertices.pop(0), causing repeated linear-time work. The svg2png, svg2pdf, and svg2ps APIs reach these operations during ordinary rendering, allowing a sub-megabyte SVG to consume substantial CPU and deny service to a rendering application. This issue is fixed in version 2.9.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Kozea | CairoSVG | < 2.9.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
4Provider assertions
2GitHub_M · cna
CairoSVG: Quadratic-time DoS parsing a crafted SVG <path>
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 720f4efd2760e584c74158da0acc048cb4a6389acc5bc3b155fbd7d23a04429c
- Ingested
- 09 Oct 2026, 16:25:59 UTC
- Source record
- Official CVE record