CVE-2026-45802: FPDI Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-2mgw-7q6p-8grg
CWE-400 CWE-770
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-45802
GHSA Identifier GHSA-2mgw-7q6p-8grg
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product FPDI
Package Ecosystem Packagist
Published Date
Last Updated

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.

setasign/fpdi fixed: 2.6.7
Upgrade setasign/fpdi to 2.6.7
Verify Direct and Transitive Dependencies

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

### 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.

CVE-2026-45802 Affected FPDI Versions

1 component(s)
Fixed Versions:
2.6.7
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?
CVE-2026-45802 is a security vulnerability in FPDI involving Memory Exhaustion and Endless Loop in FPDI leads to Denial of Service under CWE-400: Uncontrolled Resource Consumption.
Which FPDI versions are affected?
Affected versions include releases prior to 2.6.7 across affected packages: setasign/fpdi.
What version fixes CVE-2026-45802?
Upgrading to 2.6.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is setasign/fpdi affected?
Yes, setasign/fpdi is affected in releases prior to 2.6.7. Upgrade your dependency to 2.6.7 or later.
What CWE is associated with CVE-2026-45802?
CVE-2026-45802 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Packagist dependencies for CVE-2026-45802?
Run the dependency tree command: 'inspect dependencies for setasign/fpdi'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}