---
title: "CVE-2026-31899"
canonical_url: "https://pkgseek.com/security/CVE-2026-31899"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-31899

CairoSVG is an SVG converter based on Cairo, a 2D graphics library. Prior to Kozea/CairoSVG has exponential denial of service via recursive &lt;use&gt; element amplification in cairosvg/defs.py. This causes CPU exhaustion from a small input.

CVE-2026-31899 is rated HIGH (7.5), with 4 indexed affected package builds across 3 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 4
- **Affected distros**: 3
- **Distros with fixed_in**: Fedora, openSUSE

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | cairosvg | 2.7.1-2 | — |
| Debian | trixie | python3-cairosvg | 2.7.1-2 | — |
| Fedora | 42 | python3-cairosvg | 2.7.0-9.fc42 | 2.9.0-1.fc42 |
| openSUSE | 15.6 | python311-CairoSVG | 2.7.1-150400.9.3.8 | 2.7.1-150400.9.6.1 |
