← Back to CVEs
CVE-2026-31899
HIGH7.5
Description
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.
CVE Details
CVSS v3.1 Score7.5
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published3/13/2026
Last Modified3/18/2026
Sourcenvd
Honeypot Sightings0
Affected Products
courtbouillon:cairosvg
Weaknesses (CWE)
CWE-674
References
https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf(security-advisories@github.com)
https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c(security-advisories@github.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.