Umbra Wiki weakness weakness/CWE-466
Back to wiki

CWE-466 — Return of Pointer Value Outside of Expected Range

provenance: imported · CWE: CWE-466

CWE-466: Return of Pointer Value Outside of Expected Range

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Draft
Likelihood of exploit

Description

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

Common consequences

  • Confidentiality, Integrity: Read Memory, Modify Memory

Mitigations

(none listed)

References

  • CWE page: https://cwe.mitre.org/data/definitions/466.html
  • CWE list: https://cwe.mitre.org/data/index.html