Skip to content

CVE-2026-114609 fpdf2 implicitly loads external URLs and local image paths when rendering attacker-controlled content

MediumCVSS 5.8 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

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 <img src> values, SVG <image href> 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.

Upgrade path

6 packages: 2 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
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.8.8; <= 2.8.7; = 2.0.0; = 2.0.1 +50 more 2.8.8 Fixed
py-pdf fpdf2 = < 2.8.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
py-pdf fpdf2 = < 2.8.8 No fix listed
pypi fpdf2(PyPI) < 2.8.8 2.8.8
pypi fpdf2(PyPI) = 2.0.0 No fix listed
pypi fpdf2(PyPI) = 2.0.1 No fix listed
pypi fpdf2(PyPI) = 2.0.3 No fix listed
pypi fpdf2(PyPI) = 2.0.4 No fix listed
pypi fpdf2(PyPI) = 2.0.5 No fix listed
pypi fpdf2(PyPI) = 2.0.6 No fix listed
pypi fpdf2(PyPI) = 2.1.0 No fix listed
pypi fpdf2(PyPI) = 2.1.0rc1 No fix listed
pypi fpdf2(PyPI) = 2.2.0 No fix listed
pypi fpdf2(PyPI) = 2.2.0rc1 No fix listed
pypi fpdf2(PyPI) = 2.2.0rc2 No fix listed
pypi fpdf2(PyPI) = 2.2.0rc3 No fix listed
pypi fpdf2(PyPI) = 2.3.0 No fix listed
pypi fpdf2(PyPI) = 2.3.1 No fix listed
pypi fpdf2(PyPI) = 2.3.2 No fix listed
pypi fpdf2(PyPI) = 2.3.3 No fix listed
pypi fpdf2(PyPI) = 2.3.4 No fix listed
pypi fpdf2(PyPI) = 2.3.5 No fix listed
pypi fpdf2(PyPI) = 2.4.0 No fix listed
pypi fpdf2(PyPI) = 2.4.1 No fix listed
pypi fpdf2(PyPI) = 2.4.2 No fix listed
pypi fpdf2(PyPI) = 2.4.3 No fix listed
pypi fpdf2(PyPI) = 2.4.4 No fix listed
Show 47 more
ProductAffected versionsFixed in
pypi fpdf2(PyPI) = 2.4.5 No fix listed
pypi fpdf2(PyPI) = 2.4.6 No fix listed
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
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
pypi fpdf2(PyPI) <= 2.8.7 No fix listed
ubuntu/fpdf2(Ubuntu:24.04) All versions No fix listed
ubuntu/fpdf2(Ubuntu:26.04) All versions No fix listed

References