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

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: 2026-03-13T19:38:43.990Z

Updated: 2026-03-13T19:38:43.990Z

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

Link: CVE-2026-31899

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-31899

cve-icon Redhat

No data.