Katalog CWE

CWE-369 · Słabość

Divide By Zero

Abstrakcja
Bazowa
Status
Szkic
Ryzyko wykorzystania
średnie
Dodano
11 kwietnia 2008
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

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.

Skutki

  • Availability

    DoS: Crash, Exit, or Restart

    A Divide by Zero results in a crash.

Przykłady podatności

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific

Źródła

  1. Handling Errors Exceptionally Well in C++ — Alex Allain
  2. Exceptions and Exception Handling (C# Programming Guide) — Microsoft

Wpis z katalogu CWE 4.20.