| Name | CVE-2026-31899 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1130748 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| cairosvg (PTS) | bullseye | 2.5.0-1.1+deb11u2 | vulnerable |
| bullseye (security) | 2.5.0-1.1+deb11u1 | vulnerable |
| bookworm | 2.5.2-1.1+deb12u1 | vulnerable |
| trixie | 2.7.1-2 | vulnerable |
| forky, sid | 2.9.0-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| cairosvg | source | (unstable) | (unfixed) | | | 1130748 |
Notes
[trixie] - cairosvg <no-dsa> (Minor issue)
[bookworm] - cairosvg <no-dsa> (Minor issue)
[bullseye] - cairosvg <postponed> (Minor issue, DoS)
https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c
Fixed by: https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf (2.9.0)