# CVE-2021-4216: A Floating point exception (division-by-zero) flaw was found in Mupdf for zero width pages in muraster.c.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2022-08-26T15:25:43.000Z
- Modified: 2026-06-17T04:19:14.130Z
- Weaknesses: CWE-369
- Assigned by: redhat

## Description

A Floating point exception (division-by-zero) flaw was found in Mupdf for zero width pages in muraster.c. It is fixed in Mupdf-1.20.0-rc1 upstream.

(As written by CVE List.)

## Affected

- mupdf: Fixed in v1.20.0-rc1
- artifex mupdf: before 1.20.0

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=704834> (permissions-required)
- <https://github.com/ArtifexSoftware/mupdf/commit/22c47acbd52949421f8c7cb46ea1556827d0fcbf> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-4216](https://www.cve.org/CVERecord?id=CVE-2021-4216), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-4216](https://nvd.nist.gov/vuln/detail/CVE-2021-4216), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4216 · Whole record: https://cve.day/CVE-2021-4216.json · Rebuilt by cve.day 2026-11-25T22:58:07.803Z
