CWE-369 — Divide By Zero
CWE-369: Divide By Zero
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Draft |
| Likelihood of exploit | Medium |
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
- Availability: DoS: Crash, Exit, or Restart
Mitigations
(none listed)
References
- CWE page: https://cwe.mitre.org/data/definitions/369.html
- CWE list: https://cwe.mitre.org/data/index.html