CWE-395: Use of NullPointerException Catch to Detect NULL Pointer Dereference

16 CVEs have CWE-395 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 1.786%.

Catching NullPointerException should not be used as an alternative to programmatic checks to prevent dereferencing a null pointer.

Child of CWE-705: Incorrect Control Flow Scoping

Mitigations

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources