{"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-10-20T14:20:31.770129930Z","published":"2021-04-14T17:15:14.427Z","database_specific":{},"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":{"extracted_events":[{"cpe":"cpe:2.3:a:entropymine:deark:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"1.5.8"}],"source":"CPE_RANGE"},{"range":[{"fixed":"62acb7753b0e3c0d3ab3c15057b0a65222313334"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v1.5.7","v1.5.6","v1.5.5"],"database_specific":{"vanir_signatures_modified":"2026-10-20T14:20:31Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28856.json","vanir_signatures":[{"source":"https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334","target":{"file":"src/fmtutil.c","function":"fmtutil_macbitmap_read_pixmap_only_fields"},"deprecated":false,"digest":{"function_hash":"248262192169236894308598232324636050185","length":1711},"id":"CVE-2021-28856-20c93b3c","signature_type":"Function","signature_version":"v1"},{"digest":{"threshold":0.9,"line_hashes":["244882389384385273642324215724738835063","307193932932608575538273208167705831698","139963083082355081054987694254954411722","181154449912201028302768243979563471015"]},"id":"CVE-2021-28856-a2b20c9c","signature_type":"Line","signature_version":"v1","source":"https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334","target":{"file":"src/fmtutil.c"},"deprecated":false}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}