tocsin

PyPI/cairosvg CVE-2026-31899: high 7.5, EPSS 0.52%

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

Action: Upgrade cairosvg to 2.9.0 or later.

pip install cairosvg==2.9.0

Affected

introducedfixedlast affected
02.9.0-

Fixed versions

2.9.0

Sources

CVE-2026-31899 · published · modified · JSON