CWE-561: Dead Code
The product contains dead code, which can never be executed.
Overview
Dead code is code that can never be executed in a running program. The surrounding code makes it impossible for a section of code to ever be executed.
Real-world CVEs
8 recorded CVEs are caused by CWE-561 (Dead Code). The highest-severity and most recent are shown first. 1 new CWE-561 CVE has been recorded so far in 2026 (1 in 2025).