CVE-2026-31899
HIGHCVSS 7.5/10EPSS 0.49%
Last modified
CVE-2026-31899 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Courtbouillon | Cairosvg | < 2.9.0 |
References
- https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7cExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is 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 <use> element amplification in cairosvg/defs.py. This causes CPU exhaustion from a small input.
How severe is CVE-2026-31899?
CVE-2026-31899 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 0.49% probability of exploitation in the next 30 days.
How do I fix CVE-2026-31899?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2026-31899?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
