fpdf2 implicitly loads external URLs and local image paths when rendering attacker-controlled content
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| py-pdffpdf2 | — | Not listed |
| pipfpdf2 |
< 2.8.8→ 2.8.8 |
2.8.8 |
| PyPIfpdf2 |
< 2.8.8→ 2.8.8 |
2.8.8 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-114609 fpdf2 Fix available
- Ubuntu UBUNTU-CVE-2026-114609 fpdf2 No fixed version in this record
Original description The description as published by the source.
fpdf2 is a PDF creation library for Python. Prior to 2.8.8, fpdf2's shared image loader automatically dereferences attacker-controlled HTTP(S) URLs and raw local paths supplied through FPDF.image(), FPDF.write_html() HTML values, SVG or xlink:href values, and template image fields. This can cause outbound requests to attacker-selected internal or external services and local file open attempts, although local content is exposed only when it is a valid supported image or SVG resource. file:// URLs are not specially handled, so the local-path case requires a raw filesystem path. This issue is fixed in version 2.8.8.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com