CVE-2026-31899

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductCourtbouillon Cairosvg
PublishedMar 13, 2026
First seenMar 13, 2026
Weakness typeCWE-674CWE-674

How to fix

Update
  • courtbouillon cairosvg2.9.0 or later
  • cairosvg2.9.0 or later

Affected products

ProductAffected versionsFixed in
courtbouillon cairosvgv < 2.9.02.9.0
cairosvgPyPIv < 2.9.02.9.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-31899 · Courtbouillon Cairosvg · Dark Radar