CWE-466

Return of Pointer Value Outside of Expected Range

Medium

Description

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

Potential Impact

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-466 vulnerabilities in your codebase.

Get Security Assessment