Vulnerability · Published Jun 23, 2026 · Assigned by VulnCheck
CVE-2025-71382MuPDF < 1.27.0-rc1 Stack Exhaustion DoS via EPUB CSS Rendering
Medium 6.5
In plain English
A medium-severity security flaw in mupdf from ArtifexSoftware. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mupdf | no fix listed | DEBIAN-CVE-2025-71382 |
| Debian:13 | mupdf | no fix listed | DEBIAN-CVE-2025-71382 |
| Debian:14 | mupdf | 1.27.0+ds1-2 | DEBIAN-CVE-2025-71382 |
| Ubuntu:25.10 | mupdf | no fix listed | UBUNTU-CVE-2025-71382 |
| Ubuntu:26.04:LTS | mupdf | no fix listed | UBUNTU-CVE-2025-71382 |
| Ubuntu:26.10 | mupdf | no fix listed | UBUNTU-CVE-2025-71382 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ArtifexSoftware | mupdf | 0 – before 1.27.0-rc1 |
Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://github.com/ArtifexSoftware/mupdf/releases/tag/1.27.0-rc1 release-notes
- https://bugs.ghostscript.com/show_bug.cgi?id=708840 technical-description, exploit
- https://github.com/ArtifexSoftware/mupdf/commit/70b71ab22e6de4d4c44cd301c88231f623a4e94e patch
- https://www.vulncheck.com/advisories/mupdf-rc1-stack-exhaustion-dos-via-epub-css-rendering third-party-advisory