{"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-07-09T01:30:34.786843Z","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":{"cpe":"cpe:2.3:a:entropymine:deark:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.5.8"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.5.7","v1.5.6","v1.5.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28856.json","vanir_signatures_modified":"2026-07-09T01:30:34Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334","target":{"file":"src/fmtutil.c","function":"fmtutil_macbitmap_read_pixmap_only_fields"},"deprecated":false,"digest":{"length":1711,"function_hash":"248262192169236894308598232324636050185"},"id":"CVE-2021-28856-20c93b3c","signature_type":"Function"},{"signature_version":"v1","source":"https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334","target":{"file":"src/fmtutil.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["244882389384385273642324215724738835063","307193932932608575538273208167705831698","139963083082355081054987694254954411722","181154449912201028302768243979563471015"]},"id":"CVE-2021-28856-a2b20c9c","signature_type":"Line"}]}}],"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"}]}