Vulnerability in Artifex Mupdf
CVE-2025-71382
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.006, 48.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Artifex Mupdf
- Artifexsoftware Mupdf — versions 0
Weakness classification (CWE)
References
- mupdf 1.27.0-rc1 Release Notes (release-notes, Release Notes)
- bugs.ghostscript.com/show_bug.cgi (Exploit, technical-description, exploit, Mitigation, Issue Tracking)
- github.com/ArtifexSoftware/mupdf/commit/70b71ab22e6de4d4c44cd301c88231f623a4e94e (Patch, patch)
- www.vulncheck.com/advisories/mupdf-rc1-stack-exhaustion-dos-via-epub-css-render… (Patch, Third Party Advisory, third-party-advisory)