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.
Published:Mar 13, 2026
Last Modified:Mar 23, 2026
EPS:Mar 13, 2026
EPSS Score:0.00055
CVSS Score:7.5
Affected Products
Vendor
Product
Action
Vendor
Courtbouillon
Product
Cairosvg
Courtbouillon
Cairosvg
Vendor
Kozea
Product
Cairosvg
Kozea
Cairosvg
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
