CWE-466: Return of Pointer Value Outside of Expected Range, published in 2024
Filter
A function can return a pointer to memory that is outside of the buffer that the pointer is expected to reference.
What the weakness is: CWE-466 at MITRE. All weaknesses
Ask an AI about CWE-466
Show the prompt
Explain CWE-466: Return of Pointer Value Outside of Expected Range and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/466.html and https://cve.bz/cve/cwe/466?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.4CVE-2024-33602EPSS 0.4%
nscd: netgroup cache assumes NSS callback uses in-buffer strings The Name Service Cache Daemon's (nscd) netgroup cache can corrupt memory when the NSS callback does not store all strings in the provided buffer. The flaw was introduced in …
- 7.5CVE-2024-21849f5EPSS 0.8%
When an Advanced WAF/ASM security policy and a Websockets profile are configured on a virtual server, undisclosed traffic can cause the Traffic Management Microkernel (TMM) process to terminate. Note: Software versions which have reached …