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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-674"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71382.json"
}{
"cpe": "cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.27.0"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71382.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"249366329110280250880974292642454899873",
"298452772998204583741315718998804186654",
"246665099913006885487427977143869501424",
"226495033384969031390017779327972361606",
"338425939486695600720550229561831337622",
"101994744914548263347964358038402681842",
"194120624966045279999943932332826407259",
"64840780113404501749665532905197575667",
"311802052120347122654801284142787809768",
"160447079547790859635261672673514929672",
"66500399548634781989633676588608957720",
"127697111726199351237263438510803827579"
],
"threshold": 0.9
},
"id": "CVE-2025-71382-2aec4753",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/artifexsoftware/mupdf/commit/70b71ab22e6de4d4c44cd301c88231f623a4e94e",
"target": {
"file": "source/html/css-apply.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "211028717704414794691558675982010287858",
"length": 284
},
"id": "CVE-2025-71382-5d7eb8fc",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/artifexsoftware/mupdf/commit/70b71ab22e6de4d4c44cd301c88231f623a4e94e",
"target": {
"file": "source/html/css-apply.c",
"function": "value_from_inheritable_property"
}
}
]
"2026-08-12T15:15:01Z"