CISA list

● PyPI package

cairosvg

Cairosvg has four security advisories. The newest release any of them names as the fix is 2.9.1.

As of , cairosvg has four security advisories. The newest release any of them names as the fix is 2.9.1.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 2.9.12.9.14 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-107378GHSA-c3jg-qh8m-j3h2, PYSEC-2026-4204CairoSVG: Quadratic-time DoS parsing a crafted SVG <path>High severityBefore 2.9.12.9.1
CVE-2026-31899GHSA-f38f-5xpm-9r7c, PYSEC-2026-2122CairoSVG vulnerable to Exponential DoS via recursive <use> element amplificationHigh severityBefore 2.9.02.9.0
CVE-2023-27586GHSA-rwmf-w63j-p7gv, PYSEC-2023-9CairoSVG improperly processes SVG files loaded from external resourcesHigh severityBefore 2.7.02.7.0
CVE-2021-21236GHSA-hq37-853p-g5cf, PYSEC-2021-5Regular Expression Denial of Service in CairoSVGHigh severityBefore 2.5.12.5.1

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0