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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-22T17:21:11.788Z
- Modified: 2026-10-29T04:18:24.587Z
- Also known as: GHSA-wqw6-wpr3-45rh
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- py-pdf fpdf2: >= 2.5.0, < 2.8.8
- fpdf2 (PyPI): from 2.5.0 before 2.8.8

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/py-pdf/fpdf2/security/advisories/GHSA-wqw6-wpr3-45rh> (exploit, web)
- <https://github.com/py-pdf/fpdf2/pull/1889> (web)
- <https://github.com/py-pdf/fpdf2/commit/d7bd1061205d50da6a541dadfdb9d66beb763f2f> (web)
- <https://github.com/py-pdf/fpdf2/releases/tag/2.8.8> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-114610> (advisory)
- <https://github.com/py-pdf/fpdf2> (package)

## Sources

- CVE List: [CVE-2026-114610](https://www.cve.org/CVERecord?id=CVE-2026-114610), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-wqw6-wpr3-45rh](https://github.com/advisories/GHSA-wqw6-wpr3-45rh), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-114610](https://nvd.nist.gov/vuln/detail/CVE-2026-114610), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-114610 · Whole record: https://cve.day/CVE-2026-114610.json · Rebuilt by cve.day 2026-11-25T22:59:46.797Z
