CVE-2019-1000005
HIGH 8.8CVSS 3.0mPDF Unsafe Deserialization
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.
- Published
- 4 Feb 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-3cwc-m7c2-qr86
- Sources
- NVDJSONOSV GHSA-3cwc-m7c2-qr86JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mpdf_project | mpdfcpe:2.3:a:mpdf_project:mpdf:*:*:*:*:*:*:*:* |
<= 7.1.7 | |
| OSV | Packagist | mpdf/mpdf | < 7.1.8 | 7.1.8 |
References
- https://github.com/mpdf/mpdf/issues/949 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-1000005 · ADVISORY
- https://github.com/mpdf/mpdf · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Feb 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 May 2022)