CVE-2021-28856
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in, but needs a user to act. High risk of service disruption.
- Exploit odds
- 0.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.8% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.8% · EPSS, next 30 days
- Weakness
- CWE-369
- Record status
- Modified
Affected
- Entropymine Deark < 1.5.8
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-28856.md and follow it. Check whether this project is affected by CVE-2021-28856. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://fatihhcelik.github.io/posts/Division-By-Zero-Deark/
- https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334
- https://fatihhcelik.github.io/posts/Division-By-Zero-Deark/
- https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334
References
- https://fatihhcelik.github.io/posts/Division-By-Zero-Deark/
- https://github.com/fuzzing2026/CVE-PoCs/tree/main/deark-CVE-2021-28856
- https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334
- https://fatihhcelik.github.io/posts/Division-By-Zero-Deark/
- https://github.com/jsummers/deark/commit/62acb7753b0e3c0d3ab3c15057b0a65222313334