CWE-466: Return of Pointer Value Outside of Expected Range
A function can return a pointer to memory that is outside of the buffer that the pointer is expected to reference.
Last updated
Overview
CWE-466 (Return of Pointer Value Outside of Expected Range) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
9 recorded CVEs are caused by CWE-466 (Return of Pointer Value Outside of Expected Range). The highest-severity and most recent are shown first. 6 new CWE-466 CVEs have been recorded so far in 2026.
- CVE-2019-10356
Return of Pointer Value Outside of Expected Rang in Jenkins Script Security Plugin
High · CVSS 8.8 · EPSS 85th2019-07-31 - CVE-2024-21849
BIG-IP Websockets vulnerability
High · CVSS 7.5 · EPSS 54th2024-02-14 - CVE-2024-33602
nscd: netgroup cache assumes NSS callback uses in-buffer strings
High · CVSS 7.4 · EPSS 31th