CVE-2019-1000005

HIGH

mPDF < 7.1.8 - Remote Code Execution via PHAR Deserialization in ImageProcessor

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/mpdf/mpdf/issues/949

Scores

CVSS v3 8.8
EPSS 0.0210
EPSS Percentile 79.4%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-502
Status published
Products (2)
mpdf/mpdf 0 - 7.1.8Packagist
mpdf_project/mpdf < 7.1.7
Published Feb 04, 2019
Tracked Since Feb 18, 2026