CVE-2025-65875: fpdf · CVE-2025-65875 is a high-severity arbitrary file upload
Affects fpdfSource CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:U/UI:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Packagistsetasign/fpdfpkg:composer/setasign/fpdfOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Since no official patches are currently available, European organizations should implement the following specific mitigations: 1) Immediately audit all web applications using FPDF to identify vulnerable versions (v1.86 and earlier). 2) Restrict file upload permissions and disable font uploads where not strictly necessary. 3) Implement strict server-side validation to verify the file type and reject any non-font or executable files. 4) Use web application firewalls (WAFs) to detect and block attempts to upload PHP or other executable files disguised as fonts. 5) Monitor web server logs and file upload directories for suspicious activity or unexpected file types. 6) Consider isolating PDF generation services in segmented environments with minimal privileges to limit potential damage. 7) Prepare to update or patch FPDF immediately once a fix is released. 8) Educate developers about secure file handling practices to prevent similar vulnerabilities. These steps go beyond generic advice by focusing on the specific attack vector and the nature of the vulnerable function.
Description
CVE-2025-65875 is a high-severity arbitrary file upload vulnerability in the AddFont() function of FPDF version 1.86 and earlier. It allows attackers with low privileges to upload crafted PHP files without user interaction, leading to remote code execution. The vulnerability impacts confidentiality, integrity, and availability of affected systems and can be exploited remotely over the network. No known exploits are currently in the wild, and no patches have been published yet. European organizations using vulnerable FPDF versions in web applications are at risk, especially those in sectors relying heavily on PDF generation. Mitigation involves restricting file upload capabilities, implementing strict input validation, and monitoring for suspicious file uploads. Countries with significant software development and digital services sectors, such as Germany, France, and the UK, are more likely to be affected. Due to the high impact and ease of exploitation, this vulnerability demands urgent attention from defenders.