mPDF through 8.3.2 contains an SVG entity expansion vulnerability in src/Image/Svg.php that allows attackers to exhaust PHP memory by supplying nested entity declarations. Attackers can embed a small SVG with entities referencing each other repeatedly as an image or inline SVG, causing exponential expansion that terminates PDF generation with a fatal error.

Project Subscriptions

Vendors Products
Mpdf Project Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 02 Dec 2026 17:00:00 +0000

Type Values Removed Values Added
Description mPDF through 8.3.2 contains an SVG entity expansion vulnerability in src/Image/Svg.php that allows attackers to exhaust PHP memory by supplying nested entity declarations. Attackers can embed a small SVG with entities referencing each other repeatedly as an image or inline SVG, causing exponential expansion that terminates PDF generation with a fatal error.
Title mPDF through 8.3.2 SVG Entity Expansion DoS via Svg.php
First Time appeared Mpdf Project
Mpdf Project mpdf
Weaknesses CWE-776
CPEs cpe:2.3:a:mpdf_project:mpdf:*:*:*:*:*:*:*:*
Vendors & Products Mpdf Project
Mpdf Project mpdf
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-02T16:50:25.402Z

Reserved: 2026-12-02T15:28:46.426Z

Link: CVE-2026-142220

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-02T17:17:44.677

Modified: 2026-12-02T17:17:44.677

Link: CVE-2026-142220

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses