CWE-14: Compiler Removal of Code to Clear Buffers, published in 2026
Filter
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."
What the weakness is: CWE-14 at MITRE. All weaknesses
Ask an AI about CWE-14
Show the prompt
Explain CWE-14: Compiler Removal of Code to Clear Buffers and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/14.html and https://cve.bz/cve/cwe/14?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
- 4.7CVE-2026-48984mcdope pam usbEPSS 0.1%
pam_usb provides hardware authentication for Linux using ordinary removable media. In versions 0.9.1 and below, the xfree() memory release helper in calls free() without first zeroing the buffer contents, releasing heap-allocated buffers c…
- 5.5CVE-2025-64646ibm concertEPSS 0.2%
IBM Concert 1.0.0 through 2.2.0 could allow an attacker to access sensitive information in memory due to the buffer not properly clearing resources.