# CVE-2026-45802: FPDI: Memory Exhaustion and Endless Loop in FPDI leads to Denial of Service

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-05-19T19:56:17.000Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-2mgw-7q6p-8grg
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

FPDI is a collection of PHP classes that facilitate reading pages from existing PDF documents and using them as templates in FPDF. Prior to version 2.6.7, 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. This issue has been patched in version 2.6.7.

(As written by CVE List.)

## Affected

- Setasign FPDI: < 2.6.7
- setasign/fpdi (Packagist): before 2.6.7

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/Setasign/FPDI/security/advisories/GHSA-2mgw-7q6p-8grg> (web)
- <https://github.com/Setasign/FPDI/commit/1695cfcc7e01fe844a7296b3de90855a3fa65be6> (web)
- <https://github.com/Setasign/FPDI/releases/tag/v2.6.7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45802> (advisory)
- <https://github.com/Setasign/FPDI> (package)

## Sources

- CVE List: [CVE-2026-45802](https://www.cve.org/CVERecord?id=CVE-2026-45802), CVE Terms of Use, modified 2026-06-12
- GitHub Advisory Database: [GHSA-2mgw-7q6p-8grg](https://github.com/advisories/GHSA-2mgw-7q6p-8grg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-45802](https://nvd.nist.gov/vuln/detail/CVE-2026-45802), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-45802 · Whole record: https://cve.day/CVE-2026-45802.json · Rebuilt by cve.day 2026-11-25T22:59:24.462Z
