Vulnerability
CVE-2026-31899
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.
11 advisories report this vulnerability, across 6 ecosystems.
Advisories in PyPI
-
GHSA-f38f-5xpm-9r7c
CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification
-
PYSEC-2026-2122
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…