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.005, 40.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Fpdf — versions 1.8.6

Weakness classification (CWE)

References