What’s Vulnerable › Vulnerabilities
CVE-2025-71382: MuPDF < 1.27.0-rc1 Stack Exhaustion DoS via EPUB CSS Rendering
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-06-23 · updated 2026-10-06
- Weakness: CWE-674
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.
Affected products
- Artifex MuPDF: before 1.27.0 — fixed in 1.27.0
How to fix
Upgrade to a fixed version: Artifex MuPDF 1.27.0. Check the vendor advisory for mitigations.
References
- https://bugs.ghostscript.com/show_bug.cgi?id=708840
- https://github.com/ArtifexSoftware/mupdf/commit/70b71ab22e6de4d4c44cd301c88231f623a4e94e
- https://github.com/ArtifexSoftware/mupdf/releases/tag/1.27.0-rc1
- https://www.vulncheck.com/advisories/mupdf-rc1-stack-exhaustion-dos-via-epub-css-rendering
Get alerted when CVE-2025-71382 or the next vulnerability affects your stack