# CVE-2023-51104: A floating point exception (divide-by-zero) vulnerability was discovered in Artifex MuPDF 1.23.4 in function pnmbinaryreadimage() of load-p…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-26T00:00:00.000Z
- Modified: 2026-06-17T06:40:33.110Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

A floating point exception (divide-by-zero) vulnerability was discovered in Artifex MuPDF 1.23.4 in function pnm_binary_read_image() of load-pnm.c when span equals zero.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- artifex mupdf: 1.23.4

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/dongyuma/sox-defects/blob/main/mupdf-defects.md> (exploit, third-party-advisory)
- <http://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=0c06a4e51519515615f6ab2d5b1f25da6771e1f4>
- <https://bugs.ghostscript.com/show_bug.cgi?id=707621>

## Sources

- CVE List: [CVE-2023-51104](https://www.cve.org/CVERecord?id=CVE-2023-51104), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2023-51104](https://nvd.nist.gov/vuln/detail/CVE-2023-51104), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-51104 · Whole record: https://cve.day/CVE-2023-51104.json · Rebuilt by cve.day 2026-11-25T22:58:31.674Z
