Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Artifex | Mupdf | < 1.27.0 |
Related Weaknesses (CWE)
References
- https://bugs.ghostscript.com/show_bug.cgi?id=708840ExploitIssue TrackingMitigation
- https://github.com/ArtifexSoftware/mupdf/commit/70b71ab22e6de4d4c44cd301c88231f6Patch
- https://github.com/ArtifexSoftware/mupdf/releases/tag/1.27.0-rc1Release Notes
- https://www.vulncheck.com/advisories/mupdf-rc1-stack-exhaustion-dos-via-epub-cssPatchThird Party Advisory
FAQ
What is CVE-2025-71382?
CVE-2025-71382 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 E...
How severe is CVE-2025-71382?
CVE-2025-71382 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-71382?
Check the references section above for vendor advisories and patch information. Affected products include: Artifex Mupdf.