CVE-2026-31899: CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification
Kozea/CairoSVG has exponential denial of service via recursive <use> element amplification in cairosvg/defs.py (line ~335). This causes CPU exhaustion from a small input.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-31899 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →