PyPI (Python)Worst: High4 advisories

cairosvg: known vulnerabilities

cairosvg has 4 reviewed security advisories in the GitHub Advisory Database — 4 high. The most recent was published 2026-10-08. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the cairosvg versions running across your servers, containers and images, and ranks what to patch first.

How to fix cairosvg

Upgrade cairosvg to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade cairosvg (pin cairosvg>=2.9.1)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

CairoSVG: Quadratic-time DoS parsing a crafted SVG <path> High CWE-407 — Affected: before 2.9.1. Fixed in 2.9.1. Published 2026-10-08. GHSA-c3jg-qh8m-j3h2 · CVE-2026-107378
CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification High 7.5 CWE-400 — Affected: before 2.9.0. Fixed in 2.9.0. Published 2026-03-13. GHSA-f38f-5xpm-9r7c · CVE-2026-31899
CairoSVG improperly processes SVG files loaded from external resources High 9.9 CWE-20 CWE-918 — Affected: before 2.7.0. Fixed in 2.7.0. Published 2023-03-20. GHSA-rwmf-w63j-p7gv · CVE-2023-27586
Regular Expression Denial of Service in CairoSVG High 7.5 CWE-400 — Affected: before 2.5.1. Fixed in 2.5.1. Published 2021-01-06. GHSA-hq37-853p-g5cf · CVE-2021-21236

Find cairosvg across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.