CVE-2026-114610 fpdf2: Exponential SVG '<use>' expansion causes CPU and memory exhaustion in 'FPDF.image()'
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 2 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/fpdf2(Debian 13) | = 2.8.3-1; = 2.8.3-1+deb13u1; = 2.8.4-1; = 2.8.4-2 +5 more | No fix listed | No fix yet |
| ubuntu/fpdf2(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/fpdf2(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| debian/fpdf2(Debian 14) | < 2.8.8-1; = 2.8.3-1; = 2.8.4-1; = 2.8.4-2 +2 more | 2.8.8-1 | Fixed |
| pypi fpdf2(PyPI) | = 2.5.0; = 2.5.1; = 2.5.2; = 2.5.3 +24 more | 2.8.8 | Fixed |
| py-pdf fpdf2 | = >= 2.5.0, < 2.8.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| py-pdf fpdf2 | = >= 2.5.0, < 2.8.8 | No fix listed |
| pypi fpdf2(PyPI) | >= 2.5.0, < 2.8.8 | 2.8.8 |
| pypi fpdf2(PyPI) | = 2.5.0 | No fix listed |
| pypi fpdf2(PyPI) | = 2.5.1 | No fix listed |
| pypi fpdf2(PyPI) | = 2.5.2 | No fix listed |
| pypi fpdf2(PyPI) | = 2.5.3 | No fix listed |
| pypi fpdf2(PyPI) | = 2.5.4 | No fix listed |
| pypi fpdf2(PyPI) | = 2.5.5 | No fix listed |
| pypi fpdf2(PyPI) | = 2.5.6 | No fix listed |
| pypi fpdf2(PyPI) | = 2.5.7 | No fix listed |
| pypi fpdf2(PyPI) | = 2.6.0 | No fix listed |
| pypi fpdf2(PyPI) | = 2.6.1 | No fix listed |
| pypi fpdf2(PyPI) | = 2.7.0 | No fix listed |
| pypi fpdf2(PyPI) | = 2.7.1 | No fix listed |
| pypi fpdf2(PyPI) | = 2.7.2 | No fix listed |
| pypi fpdf2(PyPI) | = 2.7.3 | No fix listed |
| pypi fpdf2(PyPI) | = 2.7.4 | No fix listed |
| pypi fpdf2(PyPI) | = 2.7.5 | No fix listed |
| pypi fpdf2(PyPI) | = 2.7.6 | No fix listed |
| pypi fpdf2(PyPI) | = 2.7.7 | No fix listed |
| pypi fpdf2(PyPI) | = 2.7.8 | No fix listed |
| pypi fpdf2(PyPI) | = 2.7.9 | No fix listed |
| pypi fpdf2(PyPI) | = 2.8.1 | No fix listed |
| pypi fpdf2(PyPI) | = 2.8.2 | No fix listed |
| pypi fpdf2(PyPI) | = 2.8.3 | No fix listed |
Show 21 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi fpdf2(PyPI) | = 2.8.4 | No fix listed |
| pypi fpdf2(PyPI) | = 2.8.5 | No fix listed |
| pypi fpdf2(PyPI) | = 2.8.6 | No fix listed |
| pypi fpdf2(PyPI) | = 2.8.7 | No fix listed |
| debian/fpdf2(Debian:13) | All versions | No fix listed |
| debian/fpdf2(Debian:13) | = 2.8.3-1 | No fix listed |
| debian/fpdf2(Debian:13) | = 2.8.3-1+deb13u1 | No fix listed |
| debian/fpdf2(Debian:13) | = 2.8.4-1 | No fix listed |
| debian/fpdf2(Debian:13) | = 2.8.4-2 | No fix listed |
| debian/fpdf2(Debian:13) | = 2.8.7-1 | No fix listed |
| debian/fpdf2(Debian:13) | = 2.8.7-2 | No fix listed |
| debian/fpdf2(Debian:13) | = 2.8.8-1 | No fix listed |
| debian/fpdf2(Debian:13) | = 2.8.9-1 | No fix listed |
| debian/fpdf2(Debian:14) | < 2.8.8-1 | 2.8.8-1 |
| debian/fpdf2(Debian:14) | = 2.8.3-1 | No fix listed |
| debian/fpdf2(Debian:14) | = 2.8.4-1 | No fix listed |
| debian/fpdf2(Debian:14) | = 2.8.4-2 | No fix listed |
| debian/fpdf2(Debian:14) | = 2.8.7-1 | No fix listed |
| debian/fpdf2(Debian:14) | = 2.8.7-2 | No fix listed |
| ubuntu/fpdf2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/fpdf2(Ubuntu:26.04) | All versions | No fix listed |
References
- https://github.com/py-pdf/fpdf2/security/advisories/GHSA-wqw6-wpr3-45rh exploit vendor-advisory
- https://github.com/py-pdf/fpdf2/pull/1889 patch
- https://github.com/py-pdf/fpdf2/commit/d7bd1061205d50da6a541dadfdb9d66beb763f2f patch
- https://github.com/py-pdf/fpdf2/releases/tag/2.8.8
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- Debian Security Tracker CVE-2026-114610 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-108262 third-party-advisory