Skip to content

CWE-369: Divide By Zero

BaseLikelihood of exploit: Medium

The product divides a value by zero.

This weakness typically occurs when an unexpected value is provided to the product, or if an error occurs that is not properly detected. It frequently occurs in calculations involving physical dimensions such as size, length, width, and height.

Consequences

  • Availability: DoS: Crash, Exit, or Restart

Recent advisories

All advisories for CWE-369

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor