cvelo
P3 · MediumCVSS 5.3EPSS 0.6%

mPDF through 8.3.2 SVG Entity Expansion DoS via Svg.php

  • CVE-2026-142220
  • GHSA-9v7p-gwvj-22g6
  • 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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • mPDF

    Affected versionsFixed in
    up to 8.3.2none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.