CVE-2023-27586 json
CairoSVG improperly processes SVG files loaded from external resources
published 3y ago modified 2mo ago also EUVD-2023-0051 , GHSA-rwmf-w63j-p7gv , PYSEC-2023-9
- cvss
- 9.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi cairosvg 2.7.0
- courtbouillon cairosvg 2.7.0
- cairosvg Debian 14, Debian 13, Debian 12 2.5.2-1.1
debian advisories DEBIAN-CVE-2023-27586
- python-CairoSVG openSUSE Tumbleweed 2.9.0-1.3
- python-CairoSVG Package Hub 15 SP4, openSUSE Leap 15.4 2.5.2-bp154.2.3.1
- python-CairoSVG Package Hub 15 SP5, openSUSE Leap 15.5 2.5.2-bp155.3.3.1
opensuse advisories openSUSE-SU-2026:11989-1openSUSE-SU-2023:0272-1openSUSE-SU-2023:0260-1
- py3-cairosvg Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 2.7.0-r0
alpine advisories ALPINE-CVE-2023-27586
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2023-27586 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-27586 updated cvss 9.9
python-cairosvg: SSRF & DOS vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.72% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L |
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | cairosvg | <2.7.0 |
2.7.0 |
Affected products
- Kozea CairoSVG
Classification
References
-
github.com
/Kozea/CairoSVG/commit/12d31c653c0254fa9d9853f66b04ea46e7397255
web, patch
-
github.com
/Kozea/CairoSVG/commit/33007d4af9195e2bfb2ff9af064c4c2d8e4b2b53
web, patch
-
github.com
/Kozea/CairoSVG/security/advisories/GHSA-rwmf-w63j-p7gv
web, vendor-advisory, advisory
-
github.com
/Kozea/CairoSVG/releases/tag/2.7.0
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-27586
advisory
-
github.com
/Kozea/CairoSVG
package
-
github.com
/pypa/advisory-database/tree/main/vulns/cairosvg/PYSEC-2023-9.yaml
web
Sources
- CVE List CVE-2023-27586
- GitHub Advisory GHSA-rwmf-w63j-p7gv
- NVD CVE-2023-27586
- OSV PYSEC-2023-9
- Maintainer advisory GHSA-rwmf-w63j-p7gv
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of Kozea/CairoSVG published their own advisory on GitHub. Reviewed sources take precedence over it.