CVE-2026-31899

NameCVE-2026-31899
DescriptionCairoSVG 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.
SourceCVE (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 Bugs1130748

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cairosvg (PTS)bullseye2.5.0-1.1+deb11u2vulnerable
bullseye (security)2.5.0-1.1+deb11u1vulnerable
bookworm2.5.2-1.1+deb12u1vulnerable
trixie2.7.1-2vulnerable
forky, sid2.8.2-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cairosvgsource(unstable)(unfixed)1130748

Notes

https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c
Fixed by: https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf (2.9.0)

Search for package or bug name: Reporting problems