Unrated severityNVD Advisory· Published Dec 2, 2026
mPDF through 8.3.2 SVG Entity Expansion DoS via Svg.php
CVE-2026-142220
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.
Patches
Vulnerability mechanics
References
2- www.vulncheck.com/advisories/mpdf-through-8.3.2-svg-entity-expansion-dos-via-svg-phpmitrethird-party-advisory
- github.com/mpdf/mpdf/blob/v8.3.2/src/Image/Svg.phpmitretechnical-description
News mentions
0No linked articles in our index yet.