CVE-2026-45802: FPDI Denial of Service Vulnerability
MODERATECVE-2026-45802 is a MODERATE denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting FPDI libraries in the Packagist ecosystem. The issue involves memory exhaustion and endless loop in fpdi leads to denial of service. Remediation is available by upgrading affected packages to version 2.6.7.
CVE-2026-45802 at a Glance
How to Fix CVE-2026-45802
To remediate this vulnerability, upgrade all affected FPDI dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade setasign/fpdi to 2.6.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for setasign/fpdi
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-45802, inspect your project dependencies for FPDI:
inspect dependencies for setasign/fpdi
Analyze the terminal output to locate any version of FPDI in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In FPDI, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-45802 Affected FPDI Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
setasign/fpdi
|
Packagist |
< 2.6.7
|
2.6.7
|
References
Frequently Asked Questions
What is CVE-2026-45802?
Which FPDI versions are affected?
What version fixes CVE-2026-45802?
Is setasign/fpdi affected?
What CWE is associated with CVE-2026-45802?
How can I check Packagist dependencies for CVE-2026-45802?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2mgw-7q6p-8grg",
"modified" : "2026-06-12T19:27:03Z",
"published" : "2026-05-19T19:56:17Z",
"aliases" : [ "CVE-2026-45802" ],
"summary" : "FPDI: Memory Exhaustion and Endless Loop in FPDI leads to Denial of Service",
"details" : "### Impact\nThis 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.\n\n### Patches\nFixed as of version 2.6.7\n\n### Workarounds\nNo.\n\n### References\nNo.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "setasign/fpdi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.6.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Setasign/FPDI/security/advisories/GHSA-2mgw-7q6p-8grg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45802"
}, {
"type" : "WEB",
"url" : "https://github.com/Setasign/FPDI/commit/1695cfcc7e01fe844a7296b3de90855a3fa65be6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Setasign/FPDI"
}, {
"type" : "WEB",
"url" : "https://github.com/Setasign/FPDI/releases/tag/v2.6.7"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-19T19:56:17Z",
"nvd_published_at" : "2026-06-11T20:16:23Z"
}
}