๐Ÿ” CVE Alert

CVE-2026-31899

HIGH 7.5

CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

CairoSVG is an SVG converter based on Cairo, a 2D graphics library. Prior to Kozea/CairoSVG has exponential denial of service via recursive <use> element amplification in cairosvg/defs.py. This causes CPU exhaustion from a small input.

CWE CWE-674
Vendor kozea
Product cairosvg
Published Mar 13, 2026
Last Updated Mar 16, 2026
Stay Ahead of the Next One

Get instant alerts for kozea cairosvg

Be the first to know when new high vulnerabilities affecting kozea cairosvg are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

Kozea / CairoSVG
< 2.9.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c github.com: https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf