Skip to content
7.5 High

CVE-2026-31899 CairoSVG is an SVG converter based on Cairo, a 2D graphics library

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.

Affected products and versions

Product Affected versions Fixed in
CairoSVG 2.9 earliest → < 2.9.0 2.9.0

References

Timeline

  1. Published
  2. Last modified
The 4 CVEs of CairoSVG →
Track this CVE