CVE-2026-45802: FPDI: Memory Exhaustion and Endless Loop in FPDI leads to Denial of Service
Impact This is a significant Denial of Service (DoS) vulnerability. Any application that uses FPDI to process user-supplied PDF files is at risk. An attacker can upload a small, malicious PDF file that will cause the server-side script to crash due to memory exhaustion or a script time-out. Repeated attacks can lead to sustained service unavailability. Patches Fixed as of version 2.6.7 Workarounds No. References No.
Published May 19, 2026 · Updated Jun 12, 2026
Affected packages
setasign/fpdi
- Ecosystem
- Composer (PHP)
- Affected
- < 2.6.7
- Fixed in
- 2.6.7
- Check
composer show setasign/fpdi
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
This is a significant Denial of Service (DoS) vulnerability. Any application that uses FPDI to process user-supplied PDF files is at risk. An attacker can upload a small, malicious PDF file that will cause the server-side script to crash due to memory exhaustion or a script time-out. Repeated attacks can lead to sustained service unavailability.
Patches
Fixed as of version 2.6.7
Workarounds
No.
References
No.
Credited to esnard.
References
- https://github.com/Setasign/FPDI/security/advisories/GHSA-2mgw-7q6p-8grg
- https://nvd.nist.gov/vuln/detail/CVE-2026-45802
- https://github.com/Setasign/FPDI/commit/1695cfcc7e01fe844a7296b3de90855a3fa65be6
- https://github.com/Setasign/FPDI/releases/tag/v2.6.7
- https://github.com/advisories/GHSA-2mgw-7q6p-8grg
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
