CWE-396: Declaration of Catch for Generic Exception
Catching overly broad exceptions promotes complex error handling code that is more likely to contain security vulnerabilities.
Last updated
Overview
CWE-396 (Declaration of Catch for Generic Exception) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
2 recorded CVEs are caused by CWE-396 (Declaration of Catch for Generic Exception). The highest-severity and most recent are shown first. 2 new CWE-396 CVEs have been recorded so far in 2026.
- CVE-2026-40149
PraisonAI has an Unauthenticated Allow-List Manipulation Bypasses Agent Tool Approval Safety Controls
High · CVSS 7.9 · EPSS 4th2026-04-09 - CVE-2026-27482
Ray: Dashboard DELETE endpoints allow unauthenticated browser-triggered DoS (Serve shutdown / job deletion)
Medium · CVSS 6.5 · EPSS 35th2026-02-21
Common consequences
What can happen when CWE-396 is exploited.
Hide Activities
Affects: Non-Repudiation, Other