# CVE-2025-71382: MuPDF < 1.27.0-rc1 Stack Exhaustion DoS via EPUB CSS Rendering

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-23T17:21:48.562Z
- Modified: 2026-11-08T14:00:32.363Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- ArtifexSoftware mupdf: before 1.27.0-rc1
- artifex mupdf: before 1.27.0

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=708840> (exploit, issue-tracking, mitigation, technical-description)
- <https://github.com/ArtifexSoftware/mupdf/releases/tag/1.27.0-rc1> (release-notes)
- <https://github.com/ArtifexSoftware/mupdf/commit/70b71ab22e6de4d4c44cd301c88231f623a4e94e> (patch)
- <https://www.vulncheck.com/advisories/mupdf-rc1-stack-exhaustion-dos-via-epub-css-rendering> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2025-71382](https://www.cve.org/CVERecord?id=CVE-2025-71382), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2025-71382](https://nvd.nist.gov/vuln/detail/CVE-2025-71382), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2025-71382 · Whole record: https://cve.day/CVE-2025-71382.json · Rebuilt by cve.day 2026-11-25T22:59:12.346Z
