CVE-2026-31899Published Mar 13, 2026 · Mar 13Updated Oct 28
CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification
Kozea CairoSVG
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cairosvg PyPI |
|
|
Original 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.
From the CVE record · GitHub_M