CWE-466β€”Return of Pointer Value Outside of Expected Range

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

Metadata

CWE ID:
CWE-466
Abstraction:
Base
Structure:
Simple
Status:
Draft
Release Date:
2006-07-19
Latest Modification Date:
2025-12-11

Weakness Name

Return of Pointer Value Outside of Expected Range

Description

A function can return a pointer to memory that is outside of the buffer that the pointer is expected to reference.

Common Consequences

Scope:
Confidentiality, Integrity
Impact:
Read Memory, Modify Memory

Related Weaknesses