CWE-563: Assignment to Variable without Use, published in 2025
Filter
The variable's value is assigned but never used, i.e., is a dead store. That is, after the assignment, the variable is either assigned another value or goes out of scope.
What the weakness is: CWE-563 at MITRE. All weaknesses
Ask an AI about CWE-563
Show the prompt
Explain CWE-563: Assignment to Variable without Use and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/563.html and https://cve.bz/cve/cwe/563?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
No records match.