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.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28856.json"
[
{
"digest": {
"function_hash": "248262192169236894308598232324636050185",
"length": 1711.0
},
"source": "https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "src/fmtutil.c",
"function": "fmtutil_macbitmap_read_pixmap_only_fields"
},
"signature_type": "Function",
"id": "CVE-2021-28856-20c93b3c"
},
{
"digest": {
"line_hashes": [
"244882389384385273642324215724738835063",
"307193932932608575538273208167705831698",
"139963083082355081054987694254954411722",
"181154449912201028302768243979563471015"
],
"threshold": 0.9
},
"source": "https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "src/fmtutil.c"
},
"signature_type": "Line",
"id": "CVE-2021-28856-a2b20c9c"
}
]