CWE•Base•Draft•20 recent CVEs
CWE-617Reachable Assertion
Description
The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.
Common consequences
- Availability→DoS: Crash, Exit, or RestartWhile assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, an attacker can still cause a denial of service if they can trigger an assert statement, and if the scope of the a
Potential mitigations
- ImplementationIf the assertion statement is required (e.g., for security or reliability), change the invoking code to avoid the conditions that trigger the assertion.
- ImplementationConsider changing the assertion to some other less "fatal" error. This might not be easy to implement, since other code may be needed to handle the error.
- ImplementationMake sensitive open/close operations non-reachable from directly user-controlled data (e.g. open/close resources)
- ImplementationPerform input validation on user data.
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-1164675.32026-10-26CVE-2026-1159146.52026-10-26CVE-2026-810387.12026-10-26CVE-2026-764917.52026-10-21CVE-2026-1024837.52026-10-21CVE-2026-973137.52026-10-21CVE-2026-968887.52026-10-21CVE-2026-824252026-10-21CVE-2026-822102026-10-21CVE-2026-780482026-10-21CVE-2026-563882026-10-21CVE-2026-98253.72026-10-20CVE-2026-438532026-10-20CVE-2026-890985.52026-10-16CVE-2026-870187.52026-10-15CVE-2026-921606.52026-10-14CVE-2026-921576.52026-10-14CVE-2026-921566.52026-10-14CVE-2026-921557.52026-10-14CVE-2026-921507.52026-10-14