CWE-369

Divide By Zero
AI Translation Available

The product divides a value by zero.

Status
draft
Abstraction
base
Likelihood
medium

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.

Common Consequences

availability
Impacts
dos: crash, exit, or restart

Detection Methods

automated static analysis fuzzing

Potential Mitigations