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.
Published: 2026-12-02
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

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'}


Subscriptions

Mpdf Project Mpdf
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
  • CWE-776

    Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')