Cyber Resilience

CWE · MITRE source

CWE-14Compiler Removal of Code to Clear Buffers

Abstraction: Variant · CVEs in our corpus: 10

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."

This compiler optimization error occurs when:

Last updated: 20 August 2026 13:14 UTC

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.DS-10
  • PR.PS-06
  • SA-8 Security and Privacy Engineering Principles
  • SA-11 Developer Testing and Evaluation
Detect
Catch it (CSF Detect / Respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

NIST 800-53 r5 controls that address this weakness (0)AI-assisted

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2025-646464.76.20.00172026-03-25
CVE-2023-1132 4.35.30.00482023-05-18
CVE-2023-2481 4.35.30.00482023-05-18
CVE-2023-32098 4.35.30.00532023-05-18
CVE-2023-32099 4.35.30.00532023-05-18
CVE-2023-32100 4.35.30.00482023-05-18
CVE-2026-489843.64.70.00152026-06-18
CVE-2023-0965 2.93.10.00482023-05-18
CVE-2023-32096 2.93.10.00482023-05-18
CVE-2023-32097 2.93.10.00482023-05-18