---
title: CVE-2026-107378
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2026-107378
---

# CVE-2026-107378

Publication date 13 October 2026

Last updated 13 October 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| cairo | 26.04 LTS resolute | Needs evaluation |
| 24.04 LTS noble | Needs evaluation |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v4.0

**Base score**

8.7 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Attack requirements | None |
  | Privileges required | None |
  | User interaction | None |
  | Vulnerable system - Confidentiality impact | None |
  | Vulnerable system - Integrity impact | None |
  | Vulnerable system - Availability impact | High |
  | Subsequent system - Confidentiality impact | None |
  | Subsequent system - Integrity impact | None |
  | Subsequent system - Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.7 · High |
  | Base + Threat score | - |
  | Base + Environmental score | - |
  | Base + Threat + Environmental score | - |

**Vector:** 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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-107378)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-107378)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2026-107378)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2026-107378)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2026-107378>
* <https://github.com/Kozea/CairoSVG/commit/9d63f049f9988d0ddda3eb94564ac3a50a286523>
* <https://github.com/Kozea/CairoSVG/commit/a4d585eb374724b79676e9cceaa9e9a1a4358565>
* <https://github.com/Kozea/CairoSVG/releases/tag/2.9.1>
* <https://github.com/Kozea/CairoSVG/security/advisories/GHSA-c3jg-qh8m-j3h2>
