CWE-369 – Divide By Zero

Read Time:35 Second

Description

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.

Modes of Introduction:

– Implementation

 

Likelihood of Exploit: Medium

 

Related Weaknesses

CWE-682
CWE-682
CWE-682
CWE-682

 

Consequences

Availability: DoS: Crash, Exit, or Restart

A Divide by Zero results in a crash.

 

Potential Mitigations

CVE References