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.
References
| Link | Resource |
|---|---|
| https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf | Patch |
| https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c | Exploit Mitigation Vendor Advisory |
Configurations
History
No history.
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
