Divide By Zero Affecting mupdf package, versions <1.23.10+ds1-1ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-MUPDF-6696688
  • published27 Nov 2025
  • disclosed26 Dec 2023

Introduced: 26 Dec 2023

CVE-2023-51106  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 mupdf to version 1.23.10+ds1-1ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mupdf package and not the mupdf package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

A floating point exception (divide-by-zero) vulnerability was discovered in mupdf 1.23.4 in function pnm_binary_read_image() of load-pnm.c when fz_colorspace_n returns zero.

CVSS Base Scores

version 3.1