MuPDF < 1.27.0-rc1 Stack Exhaustion DoS via EPUB CSS Rendering
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-674.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ArtifexSoftware | mupdf | before 1.27.0-rc1 | 1.27.0-rc1 | Patch available | CNA |
- mupdf VendorArtifexSoftware Affected before 1.27.0-rc1 Fixed in 1.27.0-rc1 Patch available CNA
Remediation
- Fix · CNA mupdf (ArtifexSoftware) Fixed in 1.27.0-rc1
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-71382
- 2026-10-03 Alias added: GHSA-mhwh-83qc-j6x4
References
More Artifex Mupdf vulnerabilities
- TI-2024-16051 freeglut through 3.4.0 was discovered to contain a memory leak via the menuEntry variable… CVSS 3.1HIGH 7.5
- TI-2023-27942 A floating point exception (divide-by-zero) vulnerability was discovered in Artifex MuPDF… CVSS 3.1HIGH 7.5
- TI-2021-02374 Double free in mupdf CVSS 3.1HIGH 7.8
- TI-2016-07185 Out-of-bounds write in Artifex MuPDF CVSS 3.1HIGH 7.8
- TI-2012-04514 SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the… CVSS 3.1HIGH 7.8
- TI-2023-27939 A floating point exception (divide-by-zero) vulnerability was discovered in Artifex MuPDF… CVSS 3.1HIGH 7.5
Sources
- CVE-2025-71382 · CVE Program
- CVE-2025-71382 · NVD
- FIRST EPSS
- GHSA-mhwh-83qc-j6x4 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-71382 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences