CVE-2026-114610 fpdf2: Exponential SVG '<use>' expansion causes CPU and memory exhaustion in 'FPDF.image()'

Medium 6.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-114610?

CVE-2026-114610 is a medium-severity vulnerability in py-pdf fpdf2, published on 22 Oct 2026.

Official description

fpdf2 is a PDF creation library for Python. From 2.5.0 until 2.8.8, fpdf2's SVGObject.build_xref() passes nested SVG <use> references to GraphicsContext.add_item(), whose default clone=True deep-copy behavior copies the complete referenced graphics tree during FPDF.image() processing. Repeating references at each nesting level makes the in-memory object count and processing work grow exponentially, allowing a small user-controlled SVG to consume excessive CPU and memory, raise MemoryError, fail PDF generation jobs, and reduce or exhaust worker capacity. ResourceAccessPolicy does not prevent the issue because the references are inline and require no external resource, XML entity, local file, or permissive network setting. This issue is fixed in version 2.8.8.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2026-114610?

2 open source packages ship an affected version, including fpdf2.

PackageAffectedFixed in
fpdf2 PyPIFrom 2.5.02.8.8
fpdf2 PyPIFrom 2.5.02.8.8

How do I fix CVE-2026-114610?

Upgrade fpdf2 to 2.8.8 or later.

Is CVE-2026-114610 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-114610 exists.

Sources

Also known as DEBIAN-CVE-2026-114610, GHSA-wqw6-wpr3-45rh.

Is CVE-2026-114610 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free