7.1high
MuPDF < 1.27.0-rc1 Stack Exhaustion DoS via EPUB CSS Rendering
- Severity
- 7.1high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ArtifexSoftware mupdf | before 1.27.0-rc1 | CVE List |
| artifex mupdf | before 1.27.0 | NVD |
All scores
| VulnCheck | 7.1high CVSS:4.0 | 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 | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
MuPDF anterior a 1.27.0-rc1 contiene una vulnerabilidad de recursión incontrolada en el motor de renderizado CSS de EPUB que permite a atacantes remotos causar una denegación de servicio al proporcionar un archivo EPUB maliciosamente diseñado con elementos HTML profundamente anidados y estilos CSS en línea. La función value_from_inheritable_property() en css-apply.c recurre a través de la cadena de herencia de propiedades CSS sin un límite de profundidad, agotando la pila del proceso y causando un fallo en cualquier aplicación que utilice MuPDF para la renderización de EPUB.
References
| https://github.com/ArtifexSoftware/mupdf/releases/tag/1.27.0-rc1 | release-notes | |
| https://bugs.ghostscript.com/show_bug.cgi?id=708840 | exploit, issue-tracking, mitigation, technical-description | |
| 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71382 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2025-71382 changed 2026-10-06 | Public domain |