cve.bz

CVE-2023-27586 courtbouillon cairosvg: SSRF

7.1 highEPSS 0.7%Fix available

High (7.1) in courtbouillon cairosvg. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in cairosvg 2.7.0.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-02-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-918 Server-Side Request Forgery (SSRF)
CWE-20 Improper Input Validation
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-27586 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-27586?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-27586?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-27586 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
courtbouillon:cairosvgbefore 2.7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rwmf-w63j-p7gvPyPIcairosvg<2.7.02.7.0
PYSEC-2023-9PyPIcairosvg<2.7.02.7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11cairosvg2.5.0-1.1+deb11u1DSA-5382-1
Debian12, 13, 14cairosvg2.5.2-1.1DEBIAN-CVE-2023-27586
Ubuntu25.10cairosvgno fix listedUBUNTU-CVE-2023-27586
UbuntuPro:16.04:LTScairosvg1.0.19-1ubuntu0.1~esm1UBUNTU-CVE-2023-27586 USN-9096-1
UbuntuPro:18.04:LTScairosvg1.0.20-1ubuntu0.1~esm1UBUNTU-CVE-2023-27586 USN-9096-1
UbuntuPro:20.04:LTScairosvg2.4.2-1ubuntu0.1~esm1UBUNTU-CVE-2023-27586 USN-9096-1
UbuntuPro:22.04:LTScairosvg2.5.2-1ubuntu0.1~esm1UBUNTU-CVE-2023-27586 USN-9096-1
SUSEPackage Hub 15 SP4python-CairoSVG2.5.2-bp154.2.3.1openSUSE-SU-2023:0272-1
SUSEPackage Hub 15 SP5python-CairoSVG2.5.2-bp155.3.3.1openSUSE-SU-2023:0260-1
openSUSELeap 15.4python-CairoSVG2.5.2-bp154.2.3.1openSUSE-SU-2023:0272-1
openSUSELeap 15.5python-CairoSVG2.5.2-bp155.3.3.1openSUSE-SU-2023:0260-1
openSUSETumbleweedpython-CairoSVG2.9.0-1.3openSUSE-SU-2026:11989-1
Alpinev3.18, v3.19, v3.20 and 4 morepy3-cairosvg2.7.0-r0ALPINE-CVE-2023-27586

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON