logo

CWE-369 - Divide By Zero

CWE-369 Medium

  • Abstraction:
  • Base
  • Structure:
  • Simple
  • Status:
  • Draft
Weakness Name

Divide By Zero

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.

Common Consequences

Scope: Availability

Impact: DoS: Crash, Exit, or Restart

Notes: A Divide by Zero results in a crash.

Related Weaknesses
  • Release Date:
  • 2008-04-11
  • Latest Modification Date:
  • 2023-06-29

Free security scan for your website