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

Configuration 1 (hide)

cpe:2.3:a:courtbouillon:cairosvg:*:*:*:*:*:*:*:*

History

18 Mar 2026, 15:16

Type Values Removed Values Added
References () https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf - () https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf - Patch
References () https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c - () https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c - Exploit, Mitigation, Vendor Advisory
CPE cpe:2.3:a:courtbouillon:cairosvg:*:*:*:*:*:*:*:*
First Time Courtbouillon
Courtbouillon cairosvg

13 Mar 2026, 19:54

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-13 19:54

Updated : 2026-03-18 15:16


NVD link : CVE-2026-31899

Mitre link : CVE-2026-31899

CVE.ORG link : CVE-2026-31899


JSON object : View

Products Affected

courtbouillon

  • cairosvg
CWE
CWE-674

Uncontrolled Recursion