{"id":"CVE-2019-1000005","published":"2019-02-04T21:00:00Z","modified":"2024-08-05T03:00:19Z","title":"mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data vulnerability in getImage()…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02101,"percentile":0.82174,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/mpdf/mpdf/issues/949","tags":["x_refsource_MISC"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":16.43}]},"affected":[{"ecosystem":"Packagist","package":"mpdf/mpdf","vulnerableRanges":["<7.1.8"],"patched":["7.1.8"],"from":["GHSA-3cwc-m7c2-qr86"],"provenance":"source"}],"summary":{"text":"The mPDF PDF-generation library, version 7.1.7 and earlier, contains a deserialization flaw (CWE-502) in the getImage() method of its Image/ImageProcessor class. An attacker who can host a crafted image on the target server and get the application to generate a PDF containing a phar:// image reference, such as one pointing to that crafted file, can achieve arbitrary code execution and file write.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:32Z"},"euvd":{"id":"EUVD-2022-2163","exploited":false,"provenance":"source"}}