CVE-2026-142220: mPDF through 8.3.2 SVG Entity Expansion DoS via Svg.php

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
composer/mpdf/mpdf<=8.3.2

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Who is exposed to this denial-of-service condition?

Applications using composer/mpdf/mpdf through 8.3.2 are exposed when an attacker can cause the application to process attacker-supplied SVG content, either as an image or as inline SVG during PDF generation.

2

What must an attacker provide to trigger the issue?

The attacker needs to supply a small SVG containing nested entity declarations that repeatedly reference one another. No authentication or user interaction is required according to the listed CVSS vector.

3

What is the practical impact of successful exploitation?

Entity expansion can exhaust PHP memory and cause PDF generation to terminate with a fatal error. The stated impact is denial of service rather than disclosure or modification of data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203