Bug 2491872 (CVE-2025-71382)

Summary: CVE-2025-71382 mupdf: MuPDF: Denial of Service via uncontrolled recursion in EPUB CSS rendering
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in MuPDF. A remote attacker can exploit an uncontrolled recursion vulnerability in the EPUB CSS rendering engine by supplying a maliciously crafted EPUB file. This file, containing deeply nested HTML elements and inline CSS styles, causes the `value_from_inheritable_property()` function to recurse without a depth limit. This ultimately exhausts the process stack, leading to a denial of service (DoS) by crashing any application using MuPDF for EPUB rendering.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2492024    
Bug Blocks:    

Description OSIDB Bzimport 2026-06-23 18:02:15 UTC
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.