CVE Catalog

CVE-2025-71382

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.32%

24th percentile - higher than 24% of all known CVEs

Summary

A vulnerability in MuPDF before version 1.27.0-rc1 allows a DoS attack via a specially crafted EPUB file with deeply nested HTML elements and inline CSS styles. The function value_from_inheritable_property() in css-apply.c recursively processes the CSS inheritance chain without a depth limit, exhausting the stack and causing a crash.

Risk Assessment

An attacker can remotely crash any application using MuPDF for EPUB rendering, leading to denial of service (DoS) and potential loss of availability for users.

Recommendation

Immediately update MuPDF to version 1.27.0-rc1 or later, which includes a fix limiting recursion depth in the CSS engine.

Other vulnerabilities in MuPDF

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS