CVE-2026-31899
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductCourtbouillon Cairosvg
PublishedMar 13, 2026
First seenMar 13, 2026
Weakness typeCWE-674CWE-674
How to fix
Update
- courtbouillon cairosvg2.9.0 or later
- cairosvg2.9.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| courtbouillon cairosvg | v < 2.9.0 | 2.9.0 |
| cairosvgPyPI | v < 2.9.0 | 2.9.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.