8.7

CVE-2026-107378: CairoSVG: Quadratic-time DoS parsing a crafted SVG <path>

Awaiting analysis
AliasesGHSA-c3jg-qh8m-j3h2DEBIAN-CVE-2026-107378openSUSE-SU-2026:12111-1
Published 08-10-2026Last modified 08-10-2026

Vulnerability summary

CVE-2026-107378 is a high (CVSS 8.7) Inefficient Algorithmic Complexity vulnerability in kozea cairosvg. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 34.4% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.38%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 08-10-2026
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

Description

CairoSVG is an SVG converter based on Cairo, a 2D graphics library. Prior to 2.9.1, rendering an attacker-controlled SVG with a path containing many segments can cause quadratic CPU consumption in cairosvg/path.py. The path tokenizer repeatedly slices and rescans the remaining path data, while draw_markers drains node.vertices with node.vertices.pop(0), causing repeated linear-time work. The svg2png, svg2pdf, and svg2ps APIs reach these operations during ordinary rendering, allowing a sub-megabyte SVG to consume substantial CPU and deny service to a rendering application. This issue is fixed in version 2.9.1.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.38%

Chance of exploitation in the next 30 days

Percentile

34%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.38% 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

0 found

No public exploits indexed.

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.

Suse16 products
  • python-CairoSVG&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 2.7.1-150400.9.9.1
  • python-CairoSVG&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 2.7.1-150400.9.9.1
  • python-CairoSVG&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 2.7.1-150400.9.9.1
  • python-CairoSVG&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 2.7.1-150400.9.9.1
  • python-CairoSVG&distro=SUSE Linux Enterprise Module for Python 3 15 SP7< 2.7.1-150400.9.9.1
Opensuse3 products
  • python-CairoSVG&distro=openSUSE Leap 16.0< 2.7.1-160000.4.1
  • python-CairoSVG&distro=openSUSE Leap 16.1< 2.7.1-160100.3.1
  • python-CairoSVG&distro=openSUSE Tumbleweed< 2.9.1-1.1
Ubuntu2 products
  • cairoAll versions (No fix recorded)
  • cairosvgAll versions (No fix recorded)
Debian1 product
  • cairosvg< 2.9.0-1 | All versions (No fix recorded) | < 2.9.1-1
Kozea1 product
PyPI1 product
  • cairosvg< 2.9.1

6 vendors · 24 products

References

17 links
Show all 17 references