GHSA-2mgw-7q6p-8grg

Suggest an improvement
Source
https://github.com/advisories/GHSA-2mgw-7q6p-8grg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-2mgw-7q6p-8grg/GHSA-2mgw-7q6p-8grg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2mgw-7q6p-8grg
Aliases
Published
2026-05-19T19:56:17Z
Modified
2026-09-10T03:51:04Z
Severity
  • 6.0 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
FPDI: Memory Exhaustion and Endless Loop in FPDI leads to Denial of Service
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-400",
        "CWE-770"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-05-19T19:56:17Z",
    "nvd_published_at":  "2026-06-11T20:16:23Z",
    "severity":  "MODERATE"
}
References

Affected packages

Packagist / setasign/fpdi

Package

Name
setasign/fpdi
Purl
pkg:composer/setasign/fpdi

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.6.7

Affected versions

1.*
1.5.2
1.5.3
1.5.4
1.6.0
1.6.1
1.6.2
v2.*
v2.0.0-beta
v2.0.0-beta2
v2.0.0-rc1
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.1.0
v2.1.1
v2.2.0
v2.3.0
v2.3.1
v2.3.2
v2.3.3
v2.3.4
v2.3.5
v2.3.6
v2.3.7
v2.4.0
v2.4.1
v2.5.0
v2.6.0
v2.6.1
v2.6.2
v2.6.3
v2.6.4
v2.6.5
v2.6.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-2mgw-7q6p-8grg/GHSA-2mgw-7q6p-8grg.json"