Resource exhaustion in CairoSVG - CVE-2026-31899
Published: April 24, 2026
CairoSVG
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Fedora
Python 3 Module
openSUSE Leap
python-cairosvg
python311-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.