{"schema_version":"1.8.0","id":"CVE-2021-4216","published":"2022-08-26T16:15:09.820Z","modified":"2026-08-07T15:14:00.391499Z","related":["openSUSE-SU-2022:10125-1","openSUSE-SU-2022:10126-1","openSUSE-SU-2024:12326-1"],"details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/artifexsoftware/mupdf","events":[{"introduced":"0"},{"fixed":"a5de2ca97a8bb3255f72b0f79a4a1d89688bb0ff"},{"fixed":"22c47acbd52949421f8c7cb46ea1556827d0fcbf"}],"database_specific":{"cpe":"cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.20.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["1.20.0-rc2","1.20.0-rc1","1.19.0-rc1-so-3.12.7","1.19.0-rc1","1.18.1-so-3.12.6","1.18.1-so-3.12.4","1.18.1-so-3.12.2b1-android","1.18.1-so-3.12.2b1-ios","1.18.1-so-3.12.1-android","1.18.1-so-3.12.1-ios","1.18.0","1.18.0-rc1","1.17.0-rc1","1.16.1","1.16.1-epub-prerelease","1.16.0-rc2","1.16.0","1.16.0-rc1","1.15.0-rc1","1.15.0","1.14.0","1.14.0-rc1","1.13.0-rc1","1.13.0","1.12.0","1.11.1","1.11","1.11-rc1","1.10","1.10-rc2","1.10-rc1","1.9a","1.9","1.9-rc2","1.9-rc1","1.8","1.7a","1.7","1.7-rc1","1.6-appstore","1.6-ios-rc2","1.6-ios-rc1","android-release-60","1.6","1.5-ios-rc8","1.5-ios-appstore","1.5-ios-rc7","1.5-ios-rc6","1.5-ios","1.5","1.4-ios","1.4","1.3rc1","1.2","1.1-forms-tech-preview","1.0","1.0rc1","0.9","0.8","0.7","0.6","0.5","0.4","0.3","0.2","0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4216.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["148428731875479396939769254416903401659","334154895119732715934329687386372964908","271578754670549623668636309170831988566","183537282055440426407130261521748130023","21263257204605018599019492831581804131"],"threshold":0.9},"id":"CVE-2021-4216-3487da7d","signature_type":"Line","signature_version":"v1","source":"https://github.com/artifexsoftware/mupdf/commit/22c47acbd52949421f8c7cb46ea1556827d0fcbf","target":{"file":"source/tools/muraster.c"}},{"deprecated":false,"digest":{"function_hash":"21006412885745212366555215011289400705","length":1679},"id":"CVE-2021-4216-53f23848","signature_type":"Function","signature_version":"v1","source":"https://github.com/artifexsoftware/mupdf/commit/22c47acbd52949421f8c7cb46ea1556827d0fcbf","target":{"file":"source/tools/muraster.c","function":"initialise_banding"}}],"vanir_signatures_modified":"2026-08-07T15:14:00Z"}}],"references":[{"type":"REPORT","url":"https://bugs.ghostscript.com/show_bug.cgi?id=704834"},{"type":"FIX","url":"https://github.com/ArtifexSoftware/mupdf/commit/22c47acbd52949421f8c7cb46ea1556827d0fcbf"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}