Security advisory
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 . This vulnerability appears to have been fixed in 7.1.8.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-1000005
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:32 UTC · Revision 1
Source evidence
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 . This vulnerability appears to have been fixed in 7.1.8.
osv:CVE-2019-1000005
Complete source record
{
"id": "dd3ebd1bbb0264047abb963abb33b99856e738731a56e2ee0b29cdb4296ede3d",
"url": "https://osv.dev/vulnerability/CVE-2019-1000005",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-1000005",
"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 . This vulnerability appears to have been fixed in 7.1.8.",
"evidence": "osv:CVE-2019-1000005",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-1000005",
"aliases": [
"CVE-2019-1000005",
"GHSA-3cwc-m7c2-qr86"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mpdf/mpdf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "ac60286a7dc5250c293afebd2bd9414e58a02466"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mpdf_project:mpdf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "7.1.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v7.1.7",
"v7.1.6",
"v7.1.5",
"v7.1.4",
"v7.1.3",
"v7.1.2",
"v7.1.1",
"v7.1.0",
"v7.0.3",
"7.0.2",
"v7.0.1",
"v7.0.0",
"v7.0.0-RC4",
"v7.0.0-RC3",
"v7.0.0-RC2",
"v7.0.0-RC1",
"v7.0.0-beta2",
"v7.0.0-beta1",
"v6.1.3",
"v6.1.2",
"v6.1.1",
"v6.1.0",
"v6.0.0",
"v5.7.4a",
"v5.7.4",
"v5.7.3a",
"v5.7.3",
"v5.7.2",
"v6.0-beta",
"v5.7.1",
"v5.7.0",
"v5.6.1",
"v5.5.1",
"v5.5.0",
"v5.4.0",
"v5.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-1000005.json"
}
}
],
"modified": "2026-10-20T10:50:34.819416326Z",
"provider": "osv",
"references": [
"https://github.com/mpdf/mpdf/issues/949"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-1000005",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381869,
"published_at": "2019-02-04T21:29:00.8+00:00"
}