{"id":"CVE-2021-28856","details":"In Deark before v1.5.8, a specially crafted input file can cause a division by zero in (src/fmtutil.c) because of the value of pixelsize.","modified":"2026-04-11T17:12:17.178385Z","published":"2021-04-14T17:15:14.427Z","references":[{"type":"WEB","url":"https://github.com/fuzzing2026/CVE-PoCs/tree/main/deark-CVE-2021-28856"},{"type":"FIX","url":"https://fatihhcelik.github.io/posts/Division-By-Zero-Deark/"},{"type":"FIX","url":"https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jsummers/deark","events":[{"introduced":"0"},{"fixed":"fb671aa5d1b4317fabe5aab3e3713ca4b5798f95"},{"fixed":"62acb7753b0e3c0d3ab3c15057b0a65222313334"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.5.8"}]}}],"versions":["v1.5.5","v1.5.6","v1.5.7"],"database_specific":{"vanir_signatures_modified":"2026-04-11T17:12:17Z","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","deprecated":false,"source":"https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334","digest":{"function_hash":"248262192169236894308598232324636050185","length":1711},"id":"CVE-2021-28856-20c93b3c","target":{"file":"src/fmtutil.c","function":"fmtutil_macbitmap_read_pixmap_only_fields"}},{"signature_type":"Line","signature_version":"v1","deprecated":false,"source":"https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334","digest":{"line_hashes":["244882389384385273642324215724738835063","307193932932608575538273208167705831698","139963083082355081054987694254954411722","181154449912201028302768243979563471015"],"threshold":0.9},"id":"CVE-2021-28856-a2b20c9c","target":{"file":"src/fmtutil.c"}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28856.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}