cairosvg
Affected
- introduced
0, fixed2.9.0(ecosystem)
Fixed versions
2.9.0
Fix
- Fixed version
2.9.0pip install --upgrade cairosvg==2.9.0
Advisory
Also known as: CVE-2026-31899, GHSA-f38f-5xpm-9r7c
The record has no summary.
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.
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
0, fixed 2.9.0 (ecosystem)2.9.0
2.9.0pip install --upgrade cairosvg==2.9.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0