SCA: security update for cairosvg (GHSA-c3jg-qh8m-j3h2)

high Tenable Self-Hosted Container Security Plugin ID 473985

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-107378)

Solution

Update the cairosvg library and its related packages to version 2.9.1 or later.

See Also

https://github.com/advisories/GHSA-c3jg-qh8m-j3h2

Plugin Details

Severity: High

ID: 473985

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/9/2026

Updated: 10/9/2026

Risk Information

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2026-107378

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/8/2026

Vulnerability Publication Date: 10/8/2026

Reference Information

CVE: CVE-2026-107378

cwe: CWE-407