Division by zero in MuPDF - CVE-2023-51107
Published: November 26, 2025
Vulnerability identifier: #VU118773
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-51107
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 compute_color() function in jquant2.c. A remote attacker can trick the victim into opening a specially crafted PDF file and crash the application.
How to mitigate CVE-2023-51107
Install updates from vendor's website.