Bug 2549676

Summary: CVE-2026-107378 python-cairosvg: CairoSVG: Denial of Service via crafted SVG paths [fedora-all]
Product: [Fedora] Fedora Reporter: Ganesh <gnaik>
Component: python-cairosvgAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: mkdocs-sig, ngompa13, orion, thunderbirdtr
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["bff58e8e-4240-4ca2-9989-d6e15867dd81"]}
Fixed In Version: python-cairosvg-2.9.1-1.fc46 python-cairosvg-2.9.1-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-13 14:16:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2548141    

Description Ganesh 2026-10-12 15:02:19 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-10-13 14:12:39 UTC
FEDORA-2026-03d5084cef (python-cairosvg-2.9.1-1.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-03d5084cef

Comment 2 Fedora Update System 2026-10-13 14:16:15 UTC
FEDORA-2026-03d5084cef (python-cairosvg-2.9.1-1.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2026-10-13 15:05:17 UTC
FEDORA-2026-0a3e8cc0a0 (python-cairosvg-2.9.1-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0a3e8cc0a0

Comment 4 Fedora Update System 2026-10-13 15:05:18 UTC
FEDORA-2026-72e46336ad (python-cairosvg-2.9.1-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-72e46336ad

Comment 5 Fedora Update System 2026-10-13 15:05:18 UTC
FEDORA-2026-6805620549 (python-cairosvg-2.9.1-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6805620549

Comment 6 Fedora Update System 2026-10-14 02:18:09 UTC
FEDORA-2026-6805620549 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-6805620549`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6805620549

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-10-14 02:45:36 UTC
FEDORA-2026-0a3e8cc0a0 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-0a3e8cc0a0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0a3e8cc0a0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-10-14 02:57:55 UTC
FEDORA-2026-72e46336ad has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-72e46336ad`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-72e46336ad

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-10-17 01:07:09 UTC
FEDORA-2026-72e46336ad (python-cairosvg-2.9.1-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.