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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-f38f-5xpm-9r7c | CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 13 Mar 2026 20:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification | |
| Weaknesses | CWE-674 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-03-13T19:38:43.990Z
Reserved: 2026-03-09T21:59:02.689Z
Link: CVE-2026-31899
No data.
Status : Received
Published: 2026-03-13T19:54:38.190
Modified: 2026-03-13T19:54:38.190
Link: CVE-2026-31899
No data.
OpenCVE Enrichment
No data.
Weaknesses
Github GHSA