Resource exhaustion in CairoSVG - CVE-2026-31899
Published: April 24, 2026
CairoSVG
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled resource consumption in the use() function in cairosvg/defs.py when processing crafted SVG input with recursively nested
A small input can trigger exponential rendering amplification and sustained CPU exhaustion without significant memory growth.