Live threats

All CVEs / Courtbouillon

CVE-2026-31899Courtbouillon Cairosvg

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 13, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cairosvg.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI cairosvg < 2.9.0 2.9.0 pip install "cairosvg>=2.9.0"
PyPI cairosvg < 2.9.0 2.9.0 pip install "cairosvg>=2.9.0"

Per OSV / GitHub Advisories (GHSA-f38f-5xpm-9r7c, PYSEC-2026-2122). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
courtbouilloncairosvg< 2.9.0

Official advisories

Also: SUSE (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.