Arbitrary file upload in Fpdf
CVE-2025-65875
An arbitrary file upload vulnerability in the AddFont() function of FPDF v1.86 and earlier allows attackers to execute arbitrary code via uploading a crafted PHP file.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (33.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 33.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Fpdf — versions 1.8.6
Weakness classification (CWE)
References
- www.fpdf.org (Product)
- github.com/Setasign/FPDF (Product)
- advisories.gitlab.com/pkg/composer/tecnickcom/tc-lib-pdf-font/CVE-2024-56520/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2025-65875?
- CVE-2025-65875 is a high-severity vulnerability in Fpdf, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2026-02-03.
- How severe is CVE-2025-65875?
- High severity. CVSS v3 base score is 8.8 out of 10.