LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A malicious EPUB can crash software that uses MuPDF to render EPUB content. The issue is stack exhaustion from uncontrolled recursion during CSS inheritance handling. It requires a user or workflow to process the file, but no authentication. The main business impact is denial of service, not data theft or code execution based on the provided sources.

Executive priority

Prioritize remediation for internet-facing upload, preview, conversion, or email-processing services because a single file can crash an affected process. Treat desktop-only exposure as lower urgency but still patch during the next maintenance cycle.

Technical view

MuPDF before 1.27.0-rc1 has CWE-674 uncontrolled recursion in value_from_inheritable_property() in css-apply.c. Deeply nested HTML elements with inline CSS can force recursive CSS inheritance evaluation until the process stack is exhausted, crashing applications that use MuPDF for EPUB rendering.

Likely exposure

Exposure is most likely in document viewers, converters, preview services, or ingestion pipelines that embed MuPDF and accept EPUB files from users, partners, email, uploads, or web content. Systems that do not render EPUB through MuPDF are not indicated as affected by the bundle.

Exploitation context

The bundle describes attacker-supplied malicious EPUB files and user interaction. KEV is false, and no provided source states active exploitation in the wild. A referenced bug is tagged as exploit, but this assessment does not include reproduction details or weaponization guidance.

Researcher notes

Evidence supports denial of service through stack exhaustion only. The provided CVSS v4 vector is AV:N/AC:L/PR:N/UI:P with high availability impact and no confidentiality or integrity impact. Affected-version metadata is sparse, so rely on the description and upstream fix boundary.

Mitigation direction

  • Upgrade MuPDF to 1.27.0-rc1 or a later vendor-supported fixed build.
  • Apply the referenced upstream patch if maintaining a backported MuPDF build.
  • Restrict or sandbox untrusted EPUB rendering until patched.
  • Disable EPUB preview or conversion for untrusted sources where business impact is acceptable.
  • Check Artifex guidance for any newer stable release or vendor-specific advisories.

Validation and detection

  • Inventory applications and services that embed MuPDF or link against it.
  • Confirm deployed MuPDF versions are not earlier than 1.27.0-rc1.
  • Identify whether EPUB rendering is enabled in user-facing or automated workflows.
  • Verify downstream packages include the upstream fix or an equivalent backport.
  • Run safe regression tests confirming EPUB rendering no longer crashes under nested-content cases.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-674: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-71382 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.1 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
1ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.1CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H2.83.6VulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

7.1High
CVSS 4.0 vector shape for CVE-2025-71382Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
ArtifexSoftwaremupdf0affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-674 · source CWE mapping

Uncontrolled Recursion

Uncontrolled Recursion represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.