Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-754 (对因果或异常条件的不恰当检查) — Vulnerability Class 272

272 vulnerabilities classified as CWE-754 (对因果或异常条件的不恰当检查). AI Chinese analysis included.

CWE-754 represents a critical software weakness where applications fail to properly validate or handle unexpected environmental states, such as resource exhaustion, permission denials, or malformed inputs. Developers often exploit this oversight by assuming routine operational conditions will always hold true, leading to crashes, data corruption, or security breaches when rare events occur. Attackers typically trigger these exceptional conditions to cause denial-of-service attacks or to bypass security controls by forcing the application into an undefined state. To mitigate this risk, engineers must implement robust error handling mechanisms that explicitly check for and gracefully manage unusual scenarios. This includes validating resource availability, verifying user permissions, and ensuring inputs meet expected formats before processing, thereby maintaining system stability and security even under adverse or unexpected operating conditions.

MITRE CWE Description
The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product. The programmer may assume that certain events or conditions will never occur or do not need to be worried about, such as low memory conditions, lack of access to resources due to restrictive permissions, or misbehaving clients or components. However, attackers may intentionally trigger these unusual conditions, thus violating the programmer's assumptions, possibly introducing instability, incorrect behavior, or a vulnerability. Note that this entry is not exclusively about the use of exceptions and exception handling, which are mechanisms for both checking and handling unusual or unexpected conditions.
Common Consequences (1)
Integrity, AvailabilityDoS: Crash, Exit, or Restart, Unexpected State
The data which were produced as a result of a function call could be in a bad state upon return. If the return value is not checked, then this bad data may be used in operations, possibly leading to a crash or other unintended behaviors.
Mitigations (5)
RequirementsUse a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Choose languages with features such as exception handling that force the programmer to anticipate unusual conditions that may generate exceptions. Custom exceptions may need to be developed to handle unusual business-logic conditions. Be careful not to pass sensitive exceptions…
ImplementationCheck the results of all functions that return a value and verify that the value is expected.
Effectiveness: High
ImplementationIf using exception handling, catch and throw specific exceptions instead of overly-general exceptions (CWE-396, CWE-397). Catch and handle exceptions as locally as possible so that exceptions do not propagate too far up the call stack (CWE-705). Avoid unchecked or uncaught exceptions where feasible (CWE-248).
Effectiveness: High
ImplementationEnsure that error messages only contain minimal details that are useful to the intended audience and no one else. The messages need to strike the balance between being too cryptic (which can confuse users) or being too detailed (which may reveal more than intended). The messages should not reveal the methods that were used to determine the error. Attackers can use detailed information to refine or…
ImplementationAssume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
Examples (2)
Consider the following code segment:
char buf[10], cp_buf[10]; fgets(buf, 10, stdin); strcpy(cp_buf, buf);
Bad · C
The following code does not check to see if memory allocation succeeded before attempting to use the pointer returned by malloc().
buf = (char*) malloc(req_size); strncpy(buf, xfer, req_size);
Bad · C
CVE IDTitleCVSSSeverityPublished
CVE-2025-54463 Unexpected Input to Cloud Webhook endpoint Causes DoS in Mattermost Confluence Plugin — Mattermost Confluence Plugin 5.9 Medium2025-08-11
CVE-2025-53514 Unexpected Input to Server Webhook endpoint Causes DoS in Mattermost Confluence Plugin — Mattermost Confluence Plugin 5.9 Medium2025-08-11
CVE-2025-52931 Unexpected input to Update Channel Subscription endpoint causes DoS in Mattermost Confluence Plugin — Mattermost Confluence Plugin 7.5 High2025-08-11
CVE-2025-52136 EMQX 代码问题漏洞 — EMQX 3.0 Low2025-08-10
CVE-2025-41241 Denial-of-service vulnerability — vCenter 4.4 Medium2025-07-29
CVE-2025-53638 Solady lacks extcodesize validation on implementation in ERC4337Factory — solady 6.5AIMediumAI2025-07-17
CVE-2025-52981 Junos OS: SRX Series: Sequence of specific PIM packets causes a flowd crash — Junos OS 7.5 High2025-07-11
CVE-2025-4663 Denial-of-Service (DoS) after Unusual or Exceptional Conditions vulnerability — Brocade Fabric OS 6.5AIMediumAI2025-07-08
CVE-2025-53359 ethereum does not check transaction malleability for EIP-2930, EIP-1559 and EIP-7702 transactions — ethereum 7.4AIHighAI2025-07-02
CVE-2023-28910 Disabled Abortion Flag — Volkswagen MIB3 infotainment system MIB3 OI MQB 8.0 High2025-06-28
CVE-2025-1718 Hitachi Relion 安全漏洞 — Relion 670/650 and SAM600-IO 6.5 Medium2025-06-24
CVE-2025-0130 PAN-OS: Firewall Denial-of-Service (DoS) in the Web-Proxy Feature via a Burst of Maliciously Crafted Packets — Cloud NGFW 7.5AIHighAI2025-05-14
CVE-2024-12533 Phoenix SecureCore 安全漏洞 — SecureCore Technology 4 3.3 Low2025-05-13
CVE-2025-20201 Cisco IOS XE 代码问题漏洞 — Cisco IOS XE Software 6.7 Medium2025-05-07
CVE-2025-20200 Cisco IOS XE 代码问题漏洞 — Cisco IOS XE Software 6.7 Medium2025-05-07
CVE-2025-20198 Cisco IOS XE 代码问题漏洞 — Cisco IOS XE Software 4.6 Medium2025-05-07
CVE-2024-10635 Enterprise Protection S/MIME Opaque Signature Attachment Scanning Bypass — Enterprise Protection 6.1 Medium2025-04-28
CVE-2022-47111 编号已被CVE保留 — 7-Zip 2.5 Low2025-04-19
CVE-2022-47112 编号已被CVE保留 — 7-Zip 2.5 Low2025-04-19
CVE-2025-43715 Nullsoft Scriptable Install System 安全漏洞 — Nullsoft Scriptable Install System 8.1 High2025-04-17
CVE-2025-32997 http-proxy-middleware 安全漏洞 — http-proxy-middleware 4.0 Medium2025-04-15
CVE-2025-0129 Prisma Access Browser: Inappropriate control behavior in Prisma Access Browser — Prisma Access Browser 8.8AIHighAI2025-04-11
CVE-2025-0128 PAN-OS: Firewall Denial of Service (DoS) Using a Specially Crafted Packet — Cloud NGFW 7.5AIHighAI2025-04-11
CVE-2025-30660 Junos OS: MX Series: Decapsulation of specific GRE packets leads to PFE reset — Junos OS 7.5 High2025-04-09
CVE-2025-30655 Junos OS and Junos OS Evolved: A specific CLI command will cause an RPD crash when rib-sharding and update-threading is enabled — Junos OS 5.5 Medium2025-04-09
CVE-2025-21597 Junos OS and Junos OS Evolved: When BGP rib-sharding and update-threading are configured and a peer flaps, an rpd core is observed — Junos OS 5.3 Medium2025-04-09
CVE-2025-21594 Junos OS: MX Series: In DS-lite and NAT scenario receipt of crafted IPv6 traffic causes port block — Junos OS 7.5 High2025-04-09
CVE-2025-3359 Gnuplot: segmentation fault via io_str_init_static_internal function 6.2 Medium2025-04-07
CVE-2025-32051 Libsoup: segmentation fault when parsing malformed data uri 5.9 Medium2025-04-03
CVE-2025-2704 OpenVPN 代码问题漏洞 — OpenVPN 7.5AIHighAI2025-04-02

Vulnerabilities classified as CWE-754 (对因果或异常条件的不恰当检查) represent 272 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.