Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-107378· High 8.7

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

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 24.04 LTScairosvgpkg:deb/ubuntu/cairosvg?arch=source&distro=nobleOther threatsAffected
  • =2.7.1-1
Fixed in–
Ubuntu Pro 22.04 LTScairosvgpkg:deb/ubuntu/cairosvg?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =2.5.0-1.1
  • =2.5.2-1
  • =2.5.2-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 20.04 LTScairosvgpkg:deb/ubuntu/cairosvg?arch=source&distro=esm-apps/focalOther threatsAffected
  • =2.4.0-2
  • =2.4.2-1
  • =2.4.2-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 18.04 LTScairosvgpkg:deb/ubuntu/cairosvg?arch=source&distro=esm-apps/bionicOther threatsAffected
  • =1.0.20-1
  • =1.0.20-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 16.04 LTScairosvgpkg:deb/ubuntu/cairosvg?arch=source&distro=esm-apps-legacy/xenialOther threatsAffected
  • 1.0.16-1 – 1.0.19-1ubuntu0.1~esm1
4 affected builds
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

Community reviews

Loading reviews…