{"id":"CVE-2026-142220","aliases":["EUVD-2026-141610","GHSA-9v7p-gwvj-22g6"],"status":"published","title":"mPDF through 8.3.2 SVG Entity Expansion DoS via Svg.php","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.","severity":{"version":"4.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","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},{"version":"4.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/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","level":"medium","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00574,"percentile":0.48852,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-776"],"published":"2026-12-02T16:50:25Z","modified":"2026-12-04T21:02:15Z","products":[{"vendor":"mpdf","product":"mpdf"}],"references":[{"url":"https://github.com/mpdf/mpdf/blob/v8.3.2/src/Image/Svg.php#L3116-L3123","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/mpdf-through-8.3.2-svg-entity-expansion-dos-via-svg-php","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142220","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9v7p-gwvj-22g6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142220.json","tags":["advisory"]},{"url":"https://github.com/mpdf/mpdf","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142220","title":"mPDF through 8.3.2 SVG Entity Expansion DoS via Svg.php","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.","status":"published","published":"2026-12-02T16:50:25.402Z","modified":"2026-12-02T22:41:31.032Z","cvss":[{"version":"4.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","level":"medium","assessor":"cna"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-776"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T22:46:12.331909Z"}],"euvd":[{"id":"EUVD-2026-141610","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.","status":"published","published":"2026-12-02T16:50:25Z","modified":"2026-12-02T22:41:31Z","cvss":[{"version":"4.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","level":"medium"}],"updated_at":"2026-12-02T21:27:23.327078Z"}],"ghsa":[{"id":"GHSA-9v7p-gwvj-22g6","title":"mPDF through 8.3.2 contains an SVG entity expansion vulnerability in src/Image/Svg.php that...","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.","status":"published","published":"2026-12-02T18:31:46Z","modified":"2026-12-02T18:31:53Z","cvss":[{"version":"4.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/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","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-776"],"updated_at":"2026-12-02T18:38:43.855074Z"}],"nvd":[{"id":"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.","status":"published","published":"2026-12-02T17:17:44.677Z","modified":"2026-12-04T16:29:40.94Z","cvss":[{"version":"4.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/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","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-776"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T23:19:38.051602Z"}],"osv":[{"id":"CVE-2026-142220","title":"mPDF through 8.3.2 SVG Entity Expansion DoS via Svg.php","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.","status":"published","published":"2026-12-02T16:50:25.402Z","modified":"2026-12-04T21:02:15.690704266Z","cvss":[{"version":"4.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","level":"medium"}],"cwes":["CWE-776"],"updated_at":"2026-12-04T18:22:15.144376Z"}]}}
