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
- CVE-2007-3268
- Invalid size value leads to divide by zero.
- CVE-2007-2723
- “Empty” content triggers divide by zero.
- CVE-2007-2237
- Height value of 0 triggers divide by zero.