6.5Medium

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

ArtifexSoftware mupdf Published: (4 months ago)

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.

Weakness (CWE): CWE-674

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
artifex mupdf < 1.27.0
ArtifexSoftware mupdf < 1.27.0-rc1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:* < 1.27.0