Intel

AIKIDO-2026-824799

fpdf2 is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionGHSA-wqw6-wpr3-45rh Published Aug 11, 2026

65

Medium Risk

This Affects:

PYTHONfpdf2
2.5.0 - 2.8.7
Fixed in 2.8.8
Are you affected? Scan for Free

TL;DR

fpdf2 expands SVG use references by deep-copying the entire referenced graphics tree on each reference. A small crafted SVG can nest use references so the number of in-memory objects grows exponentially during FPDF.image() processing. Rendering such input consumes excessive CPU and memory and can exhaust a PDF generation worker. The fix rejects reference cycles and excessive nested expansion and enforces configurable SVG complexity limits.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes untrusted SVG data to FPDF.image().

Background info

fpdf2 is vulnerable to Uncontrolled Resource Consumption in versions 2.5.0 - 2.8.7.

How to fix this

Upgrade the fpdf2 library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform