CVE-2021-28856
Homebrew vulnerability analysis and mitigation

Overview

A division by zero vulnerability was discovered in Deark before version 1.5.8. The vulnerability is tracked as CVE-2021-28856 and was disclosed on April 14, 2021. The issue affects the file format analysis and data extraction utility Deark, specifically in the src/fmtutil.c file where a specially crafted input file can trigger a division by zero condition due to the value of pixelsize (NVD, Fatih Blog).

Technical details

The vulnerability exists in the fmtutil.c file at line 1621, where a division operation is performed using bi→pixelsize as the divisor without proper validation. When processing certain input files, if pixelsize has a value of 0, it leads to a division by zero error. The vulnerability has a CVSS v3.1 Base Score of 5.5 (MEDIUM) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD).

Impact

The successful exploitation of this vulnerability can cause the application to crash due to the division by zero error, leading to a denial of service condition. The vulnerability affects the availability of the system but does not impact confidentiality or integrity (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Deark version 1.5.8. The fix involves adding a check to ensure that bi→pixelsize is greater than zero before performing the division operation. Users should upgrade to version 1.5.8 or later to address this vulnerability (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-58360CRITICAL9.8
  • JavaJava
  • org.geoserver.web:gs-web-app
NoYesNov 25, 2025
CVE-2025-65085HIGH8.4
  • NixOSNixOS
  • cobalt
NoNoNov 25, 2025
CVE-2025-65084HIGH8.4
  • NixOSNixOS
  • argon
NoNoNov 25, 2025
CVE-2025-59789HIGH7.5
  • HomebrewHomebrew
  • brpc
NoYesDec 01, 2025
CVE-2025-21621MEDIUM6.1
  • JavaJava
  • geoserver
NoYesNov 25, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management