CVE-2026-114610fpdf2: Exponential SVG '<use>' expansion causes CPU and memory exhaustion in…
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | fpdf2 | Under investigation | UBUNTU-CVE-2026-114610 | |
| Ubuntu 24.04 | fpdf2 | Under investigation | UBUNTU-CVE-2026-114610 | |
| Debian 14 | fpdf2 | Fixed | 2.8.8-1 | DEBIAN-CVE-2026-114610 |
| Debian 13 | fpdf2 | Fix pending | DEBIAN-CVE-2026-114610 | |
| PyPI library | fpdf2 | Fixed | 2.8.8 | GHSA-wqw6-wpr3-45rh |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- py-pdf fpdf2: affected: >= 2.5.0, < 2.8.8
References
- https://github.com/py-pdf/fpdf2/security/advisories/GHSA-wqw6-wpr3-45rh
- https://github.com/py-pdf/fpdf2/pull/1889
- https://github.com/py-pdf/fpdf2/commit/d7bd1061205d50da6a541dadfdb9d66beb763f2f
- https://github.com/py-pdf/fpdf2/releases/tag/2.8.8
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.