CVE-2025-71382
JSON

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 packageVersionsReported by
ArtifexSoftware mupdfbefore 1.27.0-rc1CVE List
artifex mupdfbefore 1.27.0NVD

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-674

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

Sources

SourceRecordLicence
CVE ListCVE-2025-71382 changed 2026-11-08CVE Terms of Use
NVDCVE-2025-71382 changed 2026-10-06Public domain