---
title: "CWE-388: 7PK - Errors"
url: https://radicalnotion.ai/cwe/cwe-388
type: cwe
description: "This category represents one of the phyla in the Seven Pernicious Kingdoms vulnerability classification. It includes weaknesses that occur when an application does not properly handle errors that occur during processing. According to the authors of the Seven Pernicious Kingdoms, \"Errors and error handling represent a class of API. Errors related to error handling are so common that they deserve a special kingdom of their own. As with 'API Abuse,' there are two ways to introduce an error-related security vulnerability: the most common one is handling errors poorly (or not at all). The second is producing errors that either give out too much information (to possible attackers) or are difficult to handle.\""
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-388: 7PK - Errors

- **Status:** Draft
- **CVEs with this as primary weakness:** 37
- **Of those, in CISA KEV:** 1
- **New in 2026:** 3
- **CWE catalog version:** 4.21

## Description

This category represents one of the phyla in the Seven Pernicious Kingdoms vulnerability classification. It includes weaknesses that occur when an application does not properly handle errors that occur during processing. According to the authors of the Seven Pernicious Kingdoms, "Errors and error handling represent a class of API. Errors related to error handling are so common that they deserve a special kingdom of their own. As with 'API Abuse,' there are two ways to introduce an error-related security vulnerability: the most common one is handling errors poorly (or not at all). The second is producing errors that either give out too much information (to possible attackers) or are difficult to handle."

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2018-0155 | Cisco IOS and IOS XE Software Bidirectional Forwarding Detection Denial of Service Vulnerability | critical | 9.2 | - | Yes | 2018-03-28 |
| CVE-2018-1002105 | Privilege Escalation in Kubernetes | critical | 9.8 | - | No | 2018-12-05 |
| CVE-2017-5401 | Mozilla: Memory Corruption when handling ErrorResult (MFSA 2017-06) | critical | 9.8 | - | No | 2018-06-11 |
| CVE-2015-9120 | - | critical | 9.8 | - | No | 2018-04-18 |
| CVE-2016-10414 | - | critical | 9.8 | - | No | 2018-04-18 |
| CVE-2014-9985 | - | critical | 9.8 | - | No | 2018-04-18 |
| CVE-2016-10466 | - | critical | 9.8 | - | No | 2018-04-18 |
| CVE-2014-9826 | ImageMagick: incorrect error handling in sun files | critical | 9.8 | - | No | 2017-03-30 |
| CVE-2014-9841 | ImageMagick: throwing of exceptions in psd handling | critical | 9.8 | - | No | 2017-03-20 |
| CVE-2016-9965 | - | critical | 9.8 | - | No | 2016-12-16 |
| CVE-2016-9967 | - | critical | 9.8 | - | No | 2016-12-16 |
| CVE-2016-9966 | - | critical | 9.8 | - | No | 2016-12-16 |

## Frequently asked questions

### What is CWE-388?

This category represents one of the phyla in the Seven Pernicious Kingdoms vulnerability classification. It includes weaknesses that occur when an application does not properly handle errors that occur during processing. According to the authors of the Seven Pernicious Kingdoms, "Errors and error handling represent a class of API. Errors related to error handling are so common that they deserve a special kingdom of their own. As with 'API Abuse,' there are two ways to introduce an error-related security vulnerability: the most common one is handling errors poorly (or not at all). The second is producing errors that either give out too much information (to possible attackers) or are difficult to handle."

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

37 recorded CVEs are attributed to CWE-388, including CVE-2018-0155, CVE-2018-1002105 and CVE-2017-5401. 1 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

### Is CWE-388 actively exploited?

Yes. 1 CWE-388 vulnerability is in CISA's KEV catalog of actively exploited flaws, out of 37 recorded CVEs.

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

---

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