cve.bz

CVE-2019-1000005 mpdf project mpdf: Deserialization of Untrusted Data

8.8 highExploit referenceEPSS 2.1%Fix available

High (8.8) in mpdf project mpdf. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in mpdf/mpdf 7.1.8.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • mpdf/mpdf (Packagist): fixed in 7.1.8

Ask an AI about this CVE

Show the promptExplain CVE-2019-1000005 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-1000005?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-1000005?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-1000005 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mpdf_project:mpdfthrough 7.1.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3cwc-m7c2-qr86Packagistmpdf/mpdf<7.1.87.1.8

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON