Description
CairoSVG is an SVG converter based on Cairo, a 2D graphics library. Prior to version 2.7.0, Cairo can send requests to external hosts when processing SVG files. A malicious actor could send a specially crafted SVG file that allows them to perform a server-side request forgery or denial of service. Version 2.7.0 disables CairoSVG's ability to access other files online by default.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Kozea | CairoSVG | < 2.7.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cairosvg | 2.5.2-1.1 | — |
| Debian 13 | cairosvg | 2.5.2-1.1 | — |
| Debian 12 | cairosvg | 2.5.2-1.1 | — |
| Debian 11 | cairosvg | 2.5.0-1.1+deb11u1 | DSA-5382-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | cairosvg | No fix yet | — |
| Ubuntu 25.10 | cairosvg | No fix yet | — |
| Ubuntu 22.04 LTS | cairosvg | No fix yet | — |
| Ubuntu 20.04 LTS | cairosvg | No fix yet | — |
| Ubuntu 18.04 LTS | cairosvg | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | cairosvg | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP5 | python-CairoSVG | 2.5.2-bp155.3.3.1 | openSUSE-SU-2023:0260-1 |
| SUSE Package Hub 15 SP4 | python-CairoSVG | 2.5.2-bp154.2.3.1 | openSUSE-SU-2023:0272-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-CairoSVG | 2.9.0-1.3 | openSUSE-SU-2026:11989-1 |
| openSUSE Leap 15.5 | python-CairoSVG | 2.5.2-bp155.3.3.1 | openSUSE-SU-2023:0260-1 |
| openSUSE Leap 15.4 | python-CairoSVG | 2.5.2-bp154.2.3.1 | openSUSE-SU-2023:0272-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-cairosvg | 2.7.0-r0 | — |
| Alpine v3.23 | py3-cairosvg | 2.7.0-r0 | — |
| Alpine v3.22 | py3-cairosvg | 2.7.0-r0 | — |
| Alpine v3.21 | py3-cairosvg | 2.7.0-r0 | — |
| Alpine v3.20 | py3-cairosvg | 2.7.0-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | py3-cairosvg | 2.7.0-r0 | — |
| Alpine v3.18 | py3-cairosvg | 2.7.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | cairosvg | < 2.7.0 | 2.7.0 | GHSA-rwmf-w63j-p7gv |
Advisories 4
- openSUSE-SU-2026:11989-1 python313-CairoSVG-2.9.0-1.3 on GA media SUSE / openSUSE Security Updates · Oct 5, 2026
- DSA-5382-1 cairosvg - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2023:0272-1 Security update for python-CairoSVG SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2023:0260-1 Security update for python-CairoSVG SUSE / openSUSE Security Updates · Feb 4, 2026