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

EPSS: 0.004 (32.4th percentile) — read the EPSS interpretation.

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.

Affected products

  • Fpdf — versions 1.8.6
  • N/a — versions n/a

Weakness classification (CWE)

References

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.