Division by zero in MuPDF - CVE-2023-51106
Published: November 26, 2025
Vulnerability identifier: #VU118772
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-51106
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Artifex Software, Inc.
Affected software:
MuPDF
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-51106
Install updates from vendor's website.