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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Kozea | CairoSVG | < 2.9.0 |
References
- https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bfPatch
- https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7cExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Mar 13, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed