Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-31899
March 13, 2026
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.
Affected Packages
cairosvg (CONDA):
Affected version(s) >=2.0.0rc6 <2.9.0
Fix Suggestion:
Update to version 2.9.0
https://github.com/Kozea/CairoSVG.git (GITHUB):
Affected version(s) >=0.1 <2.9.0
Fix Suggestion:
Update to version 2.9.0
cairosvg (PYTHON):
Affected version(s) >=0.1 <2.9.0
Fix Suggestion:
Update to version 2.9.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Resource Consumption
Uncontrolled Recursion
EPSS
Base Score:
0.06