CWE-588Attempt to Access Child of a Non-structure Pointer

PUBLISHEDweakness record
released 2006-12-15 · last modified 2025-12-11

Metadata

CWE ID:
CWE-588
摘要:
Variant
结构:
Simple
状态:
Incomplete
发布日期:
2006-12-15
更新日期:
2025-12-11

名称

Attempt to Access Child of a Non-structure Pointer

描述

Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption.

常见后果

范围:
Integrity
影响:
Modify Memory
注释:
Adjacent variables in memory may be corrupted by assignments performed on fields after the cast.
范围:
Availability
影响:
DoS: Crash, Exit, or Restart
注释:
Execution may end due to a memory access error.

相关 CWE