CVE-2026-107378: cairosvg · Prior to 2.9.1, rendering an attacker-controlled SVG with a path containing many segments can cause
Affects cairosvgSource GCVE Database
Not known to be exploited · CVSS 8.7 High · fixed in 2.9.1 : patch cairosvg soon.
Data as of 17 Nov 2026, 06:49 UTC
- Patch
- Available – fixed in 2.9.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTScairosvgpkg:deb/ubuntu/cairosvg?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTScairosvgpkg:deb/ubuntu/cairosvg?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTScairosvgpkg:deb/ubuntu/cairosvg?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTScairosvgpkg:deb/ubuntu/cairosvg?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTScairosvgpkg:deb/ubuntu/cairosvg?arch=source&distro=esm-apps-legacy/xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to CairoSVG version 2.9.1 or later, where this vulnerability is fixed. No other mitigations are indicated or required.
Description
CairoSVG versions prior to 2.9.1 contain a vulnerability where rendering an attacker-controlled SVG with a path containing many segments causes excessive CPU consumption. This results from inefficient path tokenization and vertex processing in the rendering code, leading to potential denial of service. The issue affects svg2png, svg2pdf, and svg2ps APIs. The vulnerability is fixed in version 2.9.1.
References
- ubuntu.com/security/CVE-2026-107378 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-107378 (opens in a new tab)
- github.com/Kozea/CairoSVG/commit/9d63f049f9988d0ddda3eb94564ac3a50a286523 (opens in a new tab)
- github.com/Kozea/CairoSVG/commit/a4d585eb374724b79676e9cceaa9e9a1a4358565 (opens in a new tab)
- github.com/Kozea/CairoSVG/releases/tag/2.9.1 (opens in a new tab)
- github.com/Kozea/CairoSVG/security/advisories/GHSA-c3jg-qh8m-j3h2 (opens in a new tab)