CVE-2026-114610
fpdf2 is a PDF creation library for Python. From 2.5.0 until 2.8.8, …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/py-pdf/fpdf2/commit/d7bd1061205d50da6a541dadfdb9d66beb763f2f
- github.com/py-pdf/fpdf2/pull/1889
- github.com/py-pdf/fpdf2/releases/tag/2.8.8
- github.com/py-pdf/fpdf2/security/advisories/GHSA-wqw6-wpr3-45rh
- nvd.nist.gov/vuln/detail/CVE-2026-114610
- github.com/advisories/GHSA-wqw6-wpr3-45rh
- nvd.nist.gov/vuln/detail/CVE-2026-114610
- cve.org/CVERecord?id=CVE-2026-114610
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.