CVE-2025-54869: Setasign/fpdi Denial of Service Vulnerability
MODERATECVE-2025-54869 is a MODERATE denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Setasign/fpdi libraries in the Packagist ecosystem. The issue involves fpdi allows memory exhaustion (oom) in pdf parser which leads to denial of service. Remediation is available by upgrading affected packages to version 2.6.4.
CVE-2025-54869 at a Glance
How to Fix CVE-2025-54869
To remediate this vulnerability, upgrade all affected Setasign/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.4
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-2025-54869, inspect your project dependencies for Setasign/fpdi:
inspect dependencies for setasign/fpdi
Analyze the terminal output to locate any version of Setasign/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.4), 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-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Setasign/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-2025-54869 Affected Setasign/fpdi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
setasign/fpdi
|
Packagist |
< 2.6.4
|
2.6.4
|
References
Frequently Asked Questions
What is CVE-2025-54869?
Which Setasign/fpdi versions are affected?
What version fixes CVE-2025-54869?
Is setasign/fpdi affected?
What CWE is associated with CVE-2025-54869?
How can I check Packagist dependencies for CVE-2025-54869?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jxhh-4648-vpp3",
"modified" : "2025-08-06T14:31:50Z",
"published" : "2025-08-05T15:23:54Z",
"aliases" : [ "CVE-2025-54869" ],
"summary" : "FPDI allows Memory Exhaustion (OOM) in PDF Parser which leads to Denial of Service",
"details" : "### Impact\nThis is a significant Denial of Service (DoS) vulnerability. Any application that uses FPDI to process\nuser-supplied PDF files is at risk. An attacker can upload a small, malicious PDF file that will cause\nthe server-side script to crash due to memory exhaustion. Repeated attacks can lead to sustained\nservice unavailability.\n\n### Patches\nFixed as of version 2.6.4\n\n### Workarounds\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.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Setasign/FPDI/security/advisories/GHSA-jxhh-4648-vpp3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54869"
}, {
"type" : "WEB",
"url" : "https://github.com/Setasign/FPDI/commit/ba671ba9221cffd32c2dda87316c19f522a1c5f0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Setasign/FPDI"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-05T15:23:54Z",
"nvd_published_at" : "2025-08-06T00:15:31Z"
}
}