#1130748 cairosvg: CVE-2026-31899

Package:
src:cairosvg
Source:
src:cairosvg
Submitter:
Salvatore Bonaccorso
Date:
2026-03-14 16:41:02 UTC
Severity:
normal
Tags:
#1130748#5
Date:
2026-03-14 16:39:21 UTC
From:
To:
Hi,

The following vulnerability was published for cairosvg.

CVE-2026-31899[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-31899
https://www.cve.org/CVERecord?id=CVE-2026-31899
[1] https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c
[2] https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore