ADVISORIES

Alpine Security Database

ALPINE-CVE-2026-31899

Details

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.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.23py3-cairosvg
All versions before 2.9.0-r0 (fixed in 2.9.0-r0)
Alpine:v3.24py3-cairosvg
All versions before 2.9.0-r0 (fixed in 2.9.0-r0)

References