What’s Vulnerable › Vulnerabilities
CVE-2021-4216
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-08-26 · updated 2026-06-17
- Weakness: CWE-369
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.
Affected products
- Artifex MuPDF: before 1.20.0 — fixed in 1.20.0
How to fix
Upgrade to a fixed version: Artifex MuPDF 1.20.0. Check the vendor advisory for mitigations.
References
- https://bugs.ghostscript.com/show_bug.cgi?id=704834
- https://github.com/ArtifexSoftware/mupdf/commit/22c47acbd52949421f8c7cb46ea1556827d0fcbf
- https://bugs.ghostscript.com/show_bug.cgi?id=704834
- https://github.com/ArtifexSoftware/mupdf/commit/22c47acbd52949421f8c7cb46ea1556827d0fcbf
Get alerted when CVE-2021-4216 or the next vulnerability affects your stack