CWE-466: Return of Pointer Value Outside of Expected Range
Base
Draft
Simple
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
A function can return a pointer to memory that is outside of the buffer that the pointer is expected to reference.
常见后果
影响范围: Confidentiality Integrity
技术影响: Read Memory Modify Memory
引入模式
| 阶段 | 说明 |
|---|---|
| Implementation | - |
适用平台
编程语言
C
(Undetermined)
C++
(Undetermined)
分类映射
| 分类名称 | 条目ID | 条目名称 | 映射适配度 |
|---|---|---|---|
| 7 Pernicious Kingdoms | - | Illegal Pointer Value | - |
| Software Fault Patterns | SFP1 | Glitch in computation | - |