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.
History

Mon, 16 Mar 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 16 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-776
References
Metrics threat_severity

None

threat_severity

Important


Mon, 16 Mar 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Kozea
Kozea cairosvg
Vendors & Products Kozea
Kozea cairosvg

Fri, 13 Mar 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-16T13:39:14.684Z

Reserved: 2026-03-09T21:59:02.689Z

Link: CVE-2026-31899

cve-icon Vulnrichment

Updated: 2026-03-16T13:38:58.120Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-13T19:54:38.190

Modified: 2026-03-16T14:54:11.293

Link: CVE-2026-31899

cve-icon Redhat

Severity : Important

Publid Date: 2026-03-13T19:38:43Z

Links: CVE-2026-31899 - Bugzilla