CWE-14: Compiler Removal of Code to Clear Buffers
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.
- 7.5CVE-2023-32100silabs gecko software development kitEPSS 0.6%
Compiler removal of buffer clearing in sli_se_driver_mac_compute in Silicon Labs Gecko Platform SDK v4.2.1 and earlier results in key material duplication to RAM.
- 7.5CVE-2023-32099silabs gecko software development kitEPSS 0.6%
Compiler removal of buffer clearing in sli_se_sign_hash in Silicon Labs Gecko Platform SDK v4.2.1 and earlier results in key material duplication to RAM.
- 7.5CVE-2023-32098silabs gecko software development kitEPSS 0.6%
Compiler removal of buffer clearing in sli_se_sign_message in Silicon Labs Gecko Platform SDK v4.2.1 and earlier results in key material duplication to RAM.
- 7.5CVE-2023-32097silabs gecko software development kitEPSS 0.6%
Compiler removal of buffer clearing in sli_crypto_transparent_aead_decrypt_tag in Silicon Labs Gecko Platform SDK v4.2.1 and earlier results in key material duplication to RAM.
- 7.5CVE-2023-32096silabs gecko software development kitEPSS 0.6%
Compiler removal of buffer clearing in sli_crypto_transparent_aead_encrypt_tag in Silicon Labs Gecko Platform SDK v4.2.1 and earlier results in key material duplication to RAM.
- 7.5CVE-2023-2481silabs gecko software development kitEPSS 0.6%
Compiler removal of buffer clearing in sli_se_opaque_import_key in Silicon Labs Gecko Platform SDK v4.2.1 and earlier results in key material duplication to RAM.
- 7.5CVE-2023-1132silabs gecko software development kitEPSS 0.6%
Compiler removal of buffer clearing in sli_se_driver_key_agreement in Silicon Labs Gecko Platform SDK v4.2.1 and earlier results in key material duplication to RAM.
- 7.5CVE-2023-0965silabs gecko software development kitEPSS 0.6%
Compiler removal of buffer clearing in sli_cryptoacc_transparent_key_agreement in Silicon Labs Gecko Platform SDK v4.2.1 and earlier results in key material duplication to RAM.