CWE一覧に戻る
CWE-416

無料期間終了後の使用

Use After Free
脆弱性 確定版
JA

本製品は、メモリが解放された後、メモリを再利用または参照する。その後、ある時点でメモリが再び割り当てられ、別のポインタに保存されることがあります。メモリは新しいポインタを操作するコードに「属している」ため、元のポインタを使った操作はもはや無効です。

EN

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Scope: Integrity / Impact: Modify Memory
Scope: Availability / Impact: DoS: Crash, Exit, or Restart
Scope: Integrity, Confidentiality, Availability / Impact: Execute Unauthorized Code or Commands
Choose a language that provides automatic memory management.
When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.
MITRE公式ページ — CWE-416