CVE-2026-31899CWE-674
CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification
High · published March 13, 2026
What it is
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.
The record
Technical detail
- CVSS v3.1
- 7.5 · HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4.0
- Not supplied
- EPSS
- 0.00535 · 44.3th percentile
- Weakness
- CWE-674 · Uncontrolled Recursion
- Published
- 2026-03-13T19:38Z
EPSS history
Timeline