mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data vulnerability in getImage() method of Image/ImageProcessor class that can result in Arbitry code execution, file write, etc.. This attack appears to be exploitable via attacker must host crafted image on victim server and trigger generation of pdf file with content <img src="phar://path/to/crafted/image">. This vulnerability appears to have been fixed in 7.1.8.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | mpdf/mpdf (Packagist) | before 7.1.8 | 7.1.8 | Patch available | GHSA-3cwc-m7c2-qr86 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- mpdf/mpdf (Packagist) Vendor— Affected before 7.1.8 Fixed in 7.1.8 Patch available GHSA-3cwc-m7c2-qr86
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mpdf_project:mpdf:*:*:*:*:*:*:*:* | up to 7.1.7 | Vulnerable | Mpdf Project |
- cpe:2.3:a:mpdf_project:mpdf:*:*:*:*:*:*:*:* Versions up to 7.1.7 Vulnerable ·Mpdf Project
Remediation
- Fix · GHSA-3cwc-m7c2-qr86 mpdf/mpdf (Packagist) Fixed in 7.1.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2019-1000005
- 2026-10-03 Alias added: GHSA-3cwc-m7c2-qr86
References
More Mpdf Project Mpdf vulnerabilities
- TI-2018-13501 mPDF through 7.1.6, if deployed as a web application that accepts arbitrary HTML, allows… CVSS 3.0CRITICAL 10.0
- TI-2022-26351 mPDF 7.0 - Local File Inclusion CVSS 4.0HIGH 8.7
Sources
- CVE-2019-1000005 · CVE Program
- CVE-2019-1000005 · NVD
- FIRST EPSS
- GHSA-3cwc-m7c2-qr86 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences