CWE一覧に戻る
CWE-191

整数アンダーフロー(ラップまたはラップアラウンド)

Integer Underflow (Wrap or Wraparound)
脆弱性 レビュー中
JA

この積は、ある値から別の値を引き算し、その結果が許容される最小の整数値より小さくなるようにするもので、正しい結果と等しくない値を生成する。

これは、符号ありの場合でも符号なしの場合でも起こりうる。

EN

The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

This can happen in signed and unsigned cases.

Scope: Availability / Impact: DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Instability
Scope: Integrity / Impact: Modify Memory
Scope: Confidentiality, Availability, Access Control / Impact: Execute Unauthorized Code or Commands; Bypass Protection Mechanism
MITRE公式ページ — CWE-191