Division by zero in MuPDF - CVE-2023-51104

 

Division by zero in MuPDF - CVE-2023-51104

Published: November 26, 2025


Vulnerability identifier: #VU118770
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-51104
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Artifex Software, Inc.
Affected software:
MuPDF

Detailed vulnerability description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a divide by zero error within the pnm_binary_read_image() function in  load-pnm.c. A remote attacker can trick the victim into opening a specially crafted PDF file and crash the application. 


How to mitigate CVE-2023-51104

Install updates from vendor's website.

Sources