CVE-2021-4216 json
A Floating point exception (division-by-zero) flaw was found in Mupdf for zero width pages in muraster.c.
published 2022-08-26 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-34074
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- artifex mupdf 1.20.0
- mupdf Debian 14, Debian 13, Debian 12 1.20.0+ds1-1
debian advisories DEBIAN-CVE-2021-4216
- mupdf openSUSE Tumbleweed 1.20.3-2.1
- mupdf Package Hub 15 SP4, openSUSE Leap 15.4 1.20.3-bp154.2.3.1
- mupdf Package Hub 15 SP3, openSUSE Leap 15.3 1.12.0-bp153.2.6.1
opensuse advisories openSUSE-SU-2024:12326-1openSUSE-SU-2022:10126-1openSUSE-SU-2022:10125-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-4216 updated cvss 5.5
mupdf: division-by-zero for zero width pages in muraster.c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- n/a mupdf
Classification
- Weakness
-
- CWE-369 Divide By Zero
References
-
github.com
/ArtifexSoftware/mupdf/commit/22c47acbd52949421f8c7cb46ea1556827d0fcbf
patch, third-party-advisory
-
bugs.ghostscript.com
/show_bug.cgi?id=704834
permissions-required
Sources
- CVE List CVE-2021-4216
- NVD CVE-2021-4216
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.