# CVE-2021-28856: 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.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-14T16:11:08.000Z
- Modified: 2026-06-17T03:46:59.517Z
- Weaknesses: CWE-369
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- entropymine deark: before 1.5.8

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/fuzzing2026/CVE-PoCs/tree/main/deark-CVE-2021-28856> (exploit)
- <https://fatihhcelik.github.io/posts/Division-By-Zero-Deark/> (patch, third-party-advisory)
- <https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-28856](https://www.cve.org/CVERecord?id=CVE-2021-28856), CVE Terms of Use, modified 2026-01-26
- NVD: [CVE-2021-28856](https://nvd.nist.gov/vuln/detail/CVE-2021-28856), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28856 · Whole record: https://cve.day/CVE-2021-28856.json · Rebuilt by cve.day 2026-11-25T22:58:00.820Z
