SB20260424174 - Resource exhaustion in CairoSVG



SB20260424174 - Resource exhaustion in CairoSVG

Published: April 24, 2026

Security Bulletin ID SB20260424174
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Resource exhaustion (CVE-ID: CVE-2026-31899)

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled resource consumption in the use() function in cairosvg/defs.py when processing crafted SVG input with recursively nested elements. A remote attacker can send a specially crafted SVG file or document to cause a denial of service.

A small input can trigger exponential rendering amplification and sustained CPU exhaustion without significant memory growth.


Remediation

Install update from vendor's website.