CWE-390: Detection of Error Condition Without Action
28 CVEs have CWE-390 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 85.015%.
The product detects a specific error, but takes no actions to handle the error.
Child of CWE-755: Improper Handling of Exceptional Conditions
Mitigations
- Implementation: Properly handle each exception. This is the recommended solution. Ensure that all exceptions are handled in such a way that you can be sure of the state of your system at any given moment.
- Implementation: If a function returns an error, it is important to either fix the problem and try again, alert the user that an error has happened and let the program continue, or alert the user and close and cleanup the program.
- Testing: Subject the product to extensive testing to discover some of the possible instances of where/how errors or return values are not handled. Consider testing techniques such as ad hoc, equivalence partitioning, robustness and fault tolerance, mutation, and fuzzing.
Observed examples
- CVE-2022-21820: A GPU data center manager detects an error due to a malformed request but does not act on it, leading to memory corruption.
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-390'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-390'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).