{"affected":[{"defaultStatus":"unaffected","ecosystem":"composer","packageName":"mpdf/mpdf","product":"mPDF","source":"CNA: VulnCheck","vendor":"mpdf","versions":[{"lessThanOrEqual":"8.3.2","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-142220","cwes":["CWE-776"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6.9,"severity":"medium","source":"CNA: VulnCheck","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","version":"4.0"},{"score":5.3,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},{"score":6.9,"severity":"medium","source":"NVD: disclosure@vulncheck.com","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":5.3,"severity":"medium","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}],"modifiedAt":1796253517327,"publishedAt":1796230225402,"references":[{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/mpdf/mpdf/blob/v8.3.2/src/Image/Svg.php#L3116-L3123"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/mpdf-through-8.3.2-svg-entity-expansion-dos-via-svg-php"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/mpdf/mpdf/blob/v8.3.2/src/Image/Svg.php#L3116-L3123"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/mpdf-through-8.3.2-svg-entity-expansion-dos-via-svg-php"}],"remediation":[],"revision":"697ede1eb089637d73bb55fff3da532faaae05c5943f15aa04395c584f5bcad5","sources":[{"modifiedAt":1796251291032,"name":"CNA: VulnCheck","retrievedAt":1796252955759,"url":"https://www.cve.org/CVERecord?id=CVE-2026-142220"},{"modifiedAt":1796253517327,"name":"NVD","retrievedAt":1796257284304,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142220"}],"ssvc":{"assessedAt":1796251279841,"automatable":"yes","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"mPDF through 8.3.2 SVG Entity Expansion DoS via Svg.php","updatedAt":1796257284304}