7.5

CVE-2026-31899: CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification

Analyzed
AliasesMGASA-2026-0104SUSE-SU-2026:1421-1SUSE-SU-2026:22024-1
Published 13-03-2026Last modified 16-03-2026

Vulnerability summary

CVE-2026-31899 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in courtbouillon cairosvg. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 47.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.56%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 13-03-2026
    PublishedVulnerability first disclosed.
  2. 16-03-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.56%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.52% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Cairosvg

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Opensuse3 products
  • ansible-creator&distro=openSUSE Tumbleweed< 26.8.0-1.1
  • python-CairoSVG&distro=openSUSE Leap 15.6< 2.7.1-150400.9.6.1
  • python-CairoSVG&distro=openSUSE Tumbleweed< 2.9.0-1.1
Suse3 products
  • python-CairoSVG&distro=SUSE Linux Enterprise Module for Python 3 15 SP7< 2.7.1-150400.9.6.1
  • python-CairoSVG&distro=SUSE Linux Enterprise Server 16.0< 2.7.1-160000.3.1
  • python-CairoSVG&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 2.7.1-160000.3.1
Alpine1 product
  • py3-cairosvg< 2.9.0-r0
Courtbouillon1 product
Debian1 product
  • cairosvgAll versions (No fix recorded) | < 2.9.0-1
Kozea1 product
Mageia1 product
  • python-cairosvg< 2.5.2-6.1.mga9
PyPI1 product
  • cairosvg< 2.9.0
Ubuntu1 product
  • cairosvgAll versions (No fix recorded)

9 vendors · 13 products

References

14 links
Show all 14 references