cve.bz

CVE-2026-31899

7.5 highEPSS 0.5%

High (7.5) in courtbouillon cairosvg. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in cairosvg 2.9.0.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% chance of exploitation in the next 30 days; higher than 44% of CVEs (scores of 2026-10-31)
CWE
CWE-674
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f38f-5xpm-9r7cPyPIcairosvg<2.9.02.9.0
PYSEC-2026-2122PyPIcairosvg<2.9.02.9.0

References

Check your stackJSON