BaseDraft

CWE-466Return of Pointer Value Outside of Expected Range

Category: memory

Description

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

Common consequences· 1

  • Confidentiality / Integrity — Read Memory, Modify Memory

References

  1. https://cwe.mitre.org/data/definitions/466.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Return of Stack Variable Address
CWE
Stack-based Buffer Overflow
CWE
Incorrect Pointer Scaling
CWE
Access of Memory Location After End of Buffer
CWE
Use of Out-of-range Pointer Offset
CWE
Failure to Handle Missing Parameter
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.