Skip to main content

Setasign FPDI CVE-2026-45802

| EUVDEUVD-2026-36305 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-05-19 https://github.com/Setasign/FPDI GHSA-2mgw-7q6p-8grg
6.0
CVSS 4.0 · Vendor: https://github.com/Setasign/FPDI
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify PDF upload endpoint in target application
  2. Delivery
    Craft malicious PDF with unbounded object structure
  3. Exploit
    Upload file to trigger FPDI parsing
  4. Execution
    FPDI enters endless loop or exhausts PHP memory
  5. Persist
    PHP process crashes or times out
  6. Impact
    Repeat to sustain DoS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target application must use the setasign/fpdi composer library (versions below 2.6.7) to process PDF files supplied by users or external sources. The attacker must be able to submit a PDF file to an endpoint that passes it to FPDI for parsing - this is the sole technical prerequisite at the library level. Exploitation is limited by: (1) whether the upload endpoint is publicly accessible or requires authentication (determined by the consuming application, not FPDI itself); (2) PHP configuration values for memory_limit and max_execution_time, which determine crash speed and recoverability; (3) whether upstream infrastructure (WAF, reverse proxy) enforces file-type or size restrictions before the request reaches PHP.

Impact

No CVSS vector or score is provided for this CVE, which limits quantitative risk comparison. From the advisory context, the attack surface is any web application that accepts user-uploaded PDFs and passes them to FPDI - a common pattern in document management, invoice processing, and form-filling applications. The exploit is low-complexity: a small malicious file triggers the condition, making repeated Denial of Service attacks trivial once an upload endpoint is identified. There is no KEV listing and no public exploit code identified, suggesting this has not been broadly weaponized yet. However, the low barrier to exploitation (no authentication requirement at the library level, small payload) combined with the widespread use of FPDI in PHP ecosystems elevates real-world risk above what the absence of a CVSS score might imply. Authentication requirements are not confirmed from the CVE data alone - they depend entirely on whether the consuming application gates its upload endpoint behind authentication.

Exploit ScenarioDerived

An attacker identifies a publicly accessible PDF upload feature in a PHP web application that uses FPDI for processing. They craft or obtain a small but structurally malicious PDF - possibly containing a recursive or deeply nested object graph - and upload it repeatedly. Each upload causes the server-side PHP process to exhaust memory or hang until time-out, effectively rendering the service unavailable to legitimate users.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 19, 2026

Memory exhaustion and endless loop in Setasign FPDI (composer package setasign/fpdi) allow remote attackers to crash PHP server-side scripts by uploading a small, specially crafted PDF file. All versions prior to 2.6.7 are affected, and any web application that exposes FPDI-based PDF processing to user-supplied input is vulnerable. Repeated submissions can sustain service unavailability; no public exploit has been identified at time of analysis, and no CISA KEV listing exists.

RemediationAI

Upgrade the composer package setasign/fpdi to version 2.6.7 or later by running 'composer update setasign/fpdi' or pinning '^2.6.7' in composer.json. This is the vendor-released patch per the GitHub advisory at https://github.com/Setasign/FPDI/security/advisories/GHSA-2mgw-7q6p-8grg; no workarounds are offered by the vendor. As a compensating control pending upgrade, operators should restrict access to PDF upload endpoints to authenticated and trusted users only, enforce server-side file size limits before passing files to FPDI (e.g., reject PDFs above a configured threshold), and set conservative PHP memory_limit and max_execution_time values to contain the blast radius of an attack - note that tight time-out values may also affect legitimate large PDF processing.

Affected VersionsENISA

FPDI < 2.6.7

Affected Packages

composer setasign/fpdi fix: 2.6.7
euvd fpdi fix: 2.6.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FPDI is a PHP composer library (setasign/fpdi) used to import and process existing PDF documents server-side. The root cause maps to CWE-770 (Allocation of Resources Without Limits or Throttling): when parsing a maliciously structured PDF, the library fails to bound memory allocation or detect and break from infinite parsing loops. PHP scripts executing FPDI will either exhaust available server memory or hit the configured script execution time-out (max_execution_time), causing a fatal crash. The vulnerability is triggered during PDF structure traversal - likely in cross-reference table or object stream parsing - where a crafted input causes unbounded resource consumption.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/Setasign/FPDI) PRIMARY 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

Primary rating from Vendor (https://github.com/Setasign/FPDI) · only source for this CVE.

CVSS VectorVendor: https://github.com/Setasign/FPDI

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 11, 2026 - 20:22 NVD
6.0 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy