CWE-244

Improper Clearing of Heap Memory Before Release ('Heap Inspection')

Medium

Description

Using realloc() to resize buffers that store sensitive information can leave the sensitive information exposed to attack, because it is not removed from memory.

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-244 vulnerabilities in your codebase.

Get Security Assessment