CWE-468Incorrect Pointer Scaling

PUBLISHEDweakness recordMedium
released 2006-07-19 · last modified 2025-12-11

Metadata

CWE ID:
CWE-468
摘要:
Base
结构:
Simple
状态:
Incomplete
发布日期:
2006-07-19
更新日期:
2025-12-11

名称

Incorrect Pointer Scaling

描述

In C and C++, one may often accidentally refer to the wrong memory due to the semantics of when math operations are implicitly scaled.

常见后果

范围:
Confidentiality, Integrity
影响:
Read Memory, Modify Memory
注释:
Incorrect pointer scaling will often result in buffer overflow conditions. Confidentiality can be compromised if the weakness is in the context of a buffer over-read or under-read.

相关 CWE