---
title: "CWE-391: DEPRECATED: Unchecked Error Condition"
url: https://radicalnotion.ai/cwe/cwe-391
type: cwe
description: "This entry has been deprecated because it used ambiguous terminology and incorporated and confused multiple weaknesses. See Mapping Notes for other recommendations, and see Maintenance Notes for more detailed explanations."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-391: DEPRECATED: Unchecked Error Condition

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Deprecated
- **CVEs with this as primary weakness:** 30
- **Of those, in CISA KEV:** 0
- **New in 2026:** 2
- **CWE catalog version:** 4.21

## Description

This entry has been deprecated because it used ambiguous terminology and incorporated and confused multiple weaknesses. See Mapping Notes for other recommendations, and see Maintenance Notes for more detailed explanations.

## Real CVEs with this weakness (sample of 12 of 30)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-52316 | Apache Tomcat: Authentication bypass when using Jakarta Authentication API | critical | 9.8 | - | No | 2024-11-18 |
| CVE-2018-19409 | ghostscript: Improperly implemented security check in zsetdevice function in psi/zdevice.c | critical | 9.8 | - | No | 2018-11-21 |
| CVE-2017-12181 | xorg-x11-server: unvalidated lengths in XFree86 DGA extension | critical | 9.8 | - | No | 2018-01-24 |
| CVE-2017-12178 | xorg-x11-server: wrong extra length check in ProcXIChangeHierarchy | critical | 9.8 | - | No | 2018-01-24 |
| CVE-2017-12187 | xorg-x11-server: unvalidated lengths in RENDER extension | critical | 9.8 | - | No | 2018-01-24 |
| CVE-2017-12179 | xorg-x11-server: Integer overflow and unvalidated length in (S)ProcXIBarrierReleasePointer | critical | 9.8 | - | No | 2018-01-24 |
| CVE-2017-12183 | xorg-x11-server: unvalidated lengths in XFIXES extension | critical | 9.8 | - | No | 2018-01-24 |
| CVE-2017-12182 | xorg-x11-server: unvalidated lengths in XFree86 DRI extension | critical | 9.8 | - | No | 2018-01-24 |
| CVE-2017-12177 | xorg-x11-server: Unvalidated variable-length request in ProcDbeGetVisualInfo | critical | 9.8 | - | No | 2018-01-24 |
| CVE-2017-12185 | xorg-x11-server: unvalidated lengths in MIT-SCREEN-SAVER extension | critical | 9.8 | - | No | 2018-01-24 |
| CVE-2017-12180 | xorg-x11-server: unvalidated lengths in XFree86 VidModeExtension | critical | 9.8 | - | No | 2018-01-24 |
| CVE-2017-12186 | xorg-x11-server: unvalidated lengths in X-Resource extension | critical | 9.8 | - | No | 2018-01-24 |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Unchecked Return Value | - | - |
| 7 Pernicious Kingdoms | Empty Catch Block | - | - |
| CLASP | Uncaught exception | - | - |
| OWASP Top Ten 2004 | Improper Error Handling | A7 | CWE More Specific |
| CERT C Secure Coding | Adopt and implement a consistent and comprehensive error-handling policy | ERR00-C | - |
| CERT C Secure Coding | Detect and handle standard library errors | ERR33-C | CWE More Abstract |
| CERT C Secure Coding | Detect errors when converting a string to a number | ERR34-C | CWE More Abstract |
| CERT C Secure Coding | Prevent or detect domain and range errors in math functions | FLP32-C | Imprecise |
| CERT C Secure Coding | Detect and handle POSIX library errors | POS54-C | CWE More Abstract |
| SEI CERT Perl Coding Standard | Do not suppress or ignore exceptions | EXP31-PL | Imprecise |
| Software Fault Patterns | Unchecked Status Condition | SFP4 | - |

## Frequently asked questions

### What is CWE-391?

This entry has been deprecated because it used ambiguous terminology and incorporated and confused multiple weaknesses. See Mapping Notes for other recommendations, and see Maintenance Notes for more detailed explanations.

### What CVEs are caused by CWE-391?

30 recorded CVEs are attributed to CWE-391, including CVE-2024-52316, CVE-2018-19409 and CVE-2017-12181.

### Is CWE-391 part of the OWASP Top 10?

CWE-391 maps to OWASP Top Ten 2004: Improper Error Handling (A7) in the OWASP security taxonomy.

### Is CWE-391 actively exploited?

30 recorded CVEs are caused by CWE-391; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/391.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-391). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
