cairosvg: CairoSVG is an SVG converter based on Cairo, a 2D graphics library
CVE-2026-31899 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-31899, released March 13, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cairosvg · Debian 14 | 2.9.0-1 | DEBIAN-CVE-2026-31899 | Mar 13, 2026 |
| python-CairoSVG · opensuse-leap 15.6 | 2.7.1-150400.9.6.1 | SUSE-SU-2026:1421-1 | Apr 17, 2026 |
| python-CairoSVG · sles 15.7 | 2.7.1-150400.9.6.1 | SUSE-SU-2026:1421-1 | Apr 17, 2026 |
| python-CairoSVG · sles 16.0 | 2.7.1-160000.3.1 | SUSE-SU-2026:22024-1 | Jun 2, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.