CVE-2025-71382
MuPDF before 1.27.0-rc1 contains an uncontrolled recursion …
MuPDF before 1.27.0-rc1 contains an uncontrolled recursion vulnerability in the EPUB CSS rendering engine that allows remote attackers to cause a denial of service by supplying a maliciously crafted EPUB file with deeply nested HTML elements and inline CSS styles. The function value_from_inheritable_property() in css-apply.c recurses through the CSS property inheritance chain without a depth limit, exhausting the process stack and causing a crash in any application using MuPDF for EPUB rendering.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.ghostscript.com/show_bug.cgi?id=708840
- github.com/ArtifexSoftware/mupdf/commit/70b71ab22e6de4d4c44cd301c88231f623a4e94e
- github.com/ArtifexSoftware/mupdf/releases/tag/1.27.0-rc1
- www.vulncheck.com/advisories/mupdf-rc1-stack-exhaustion-dos-via-epub-css-rendering
- nvd.nist.gov/vuln/detail/CVE-2025-71382
- cve.org/CVERecord?id=CVE-2025-71382
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.