Common Weakness Enumeration
CWE Definition / CWE-14
CWE-14: Compiler Removal of Code to Clear Buffers
Sensitive memory is cleared according to the source code, but compiler optimizations leave the memory untouched when it is not read from again, aka dead store removal.
Published:19 Jul 2006
Organization:MITRE
Modified:11 Dec 2025
Related Weakness
CWE-733: Compiler Optimization Removal or Modification of Security-critical Code
