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

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

312 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-2026-11970 Forcepoint One Endpoint 异常处理不当漏洞 — F1E mac 4.8 Medium2026-08-13
CVE-2026-19481 @fastify/busboy vulnerable to Denial of Service via prototype-named multipart part header — @fastify/busboy 7.5 High2026-08-13
CVE-2026-73430 Russh: Pre-auth remote panic via all-zero Curve25519 peer public value (encode_mpint OOB) — russh 5.3 Medium2026-08-12
CVE-2026-59693 Siemens Desigo DXR2 异常处理不当漏洞 — Desigo DXR2 4.3 Medium2026-08-11
CVE-2026-66774 Multiple vulnerabilities in SAP Business AI Platform (Approuter) — SAP Business AI Platform (Approuter) 3.7 Low2026-08-11
CVE-2025-71412 In CPDLC, False Emergency or Status Messages Will be Accepted as Legitimate — CPDLC 7.1 High2026-08-07
CVE-2025-71413 In CPDLC, Malformed or Out of Sequence Frames Can Cause Resets — CPDLC 5.3 Medium2026-08-07
CVE-2026-18852 epsilla-cloud vectordb Filter expr.cpp ShuntingYard unusual condition — vectordb 3.3 Low2026-08-04
CVE-2026-20486 MediaTek Chipsets 异常处理不当漏洞 — MediaTek chipset--2026-08-03
CVE-2026-0667 Schneider Electric SCADAPack 47x 异常处理不当漏洞 — SCADAPack 47x 9.3 Critical2026-07-29
CVE-2026-65904 DOMPurify through 3.3.3 Cross-Site Scripting via IN_PLACE mode — DOMPurify 4.7 Medium2026-07-23
CVE-2026-44621 Libunbound applications configured with 'unwanted-reply-threshold' could eventually be abruptly terminated — Unbound 5.9 Medium2026-07-22
CVE-2026-63754 SurrealDB before 3.1.0 Denial of Service via LIVE Query — surrealdb 6.5 Medium2026-07-20
CVE-2026-21764 Insufficient Input Validation in DevOps Loop — DevOps Loop 3.1 Low2026-07-17
CVE-2026-8075 Posting a malicious markdown image crashes the Mattermost Desktop App — Mattermost 6.5 Medium2026-07-17
CVE-2026-57031 Junos OS: MX Series: For subscribers configured on static interfaces, input filters are not in effect — Junos OS 4.7 Medium2026-07-09
CVE-2026-57022 Junos OS: MX Series with SPC3, SRX Series: Specific packet in response to a TCP connection establishment by the affected device can crash the PFE — Junos OS 5.9 Medium2026-07-09
CVE-2026-57020 Junos OS: QFX10000 Series: IPv6 multicast traffic received on non-IRB interfaces causes a multicast flood — Junos OS 6.5 Medium2026-07-09
CVE-2026-33801 Junos OS and Junos OS Evolved: When a specifically malformed BGP route update is received RPD crashes — Junos OS 6.5 Medium2026-07-09
CVE-2026-33794 Junos OS Evolved: PTX Series: Receipt of repeated ECMP routing updates results in PFE crash — Junos OS Evolved 5.9 Medium2026-07-09
CVE-2026-0287 PAN-OS: Denial of Service Vulnerabilities in Network Traffic Processing — Cloud NGFW 4.6 Medium2026-07-09
CVE-2026-56812 Phoenix JavaScript presence client crashes on presence keys colliding with Object.prototype members in Presence.syncState/syncDiff — phoenix--2026-07-07
CVE-2026-43928 FOSSBilling: Payment amount not validated in PayPalEmail adapter allows invoice underpayment — FOSSBilling--2026-07-06
CVE-2026-55577 ImageMagick: Heap Buffer Overflow in ImageMagick MVG decoder — ImageMagick 5.9 Medium2026-07-01
CVE-2026-47216 Typesense: Unauthenticated Denial of Service in the Typesense /multi_search Endpoint — typesense--2026-06-12
CVE-2026-0269 PAN-OS: Denial of Service (DoS) in Tunnel Traffic Processing — Cloud NGFW--2026-06-10
CVE-2026-46541 Nimiq network-libp2p: DHT query poisoning via first-record verification failure — core-rs-albatross 7.5 High2026-06-09
CVE-2026-5343 SAML SSO - Service Provider - Critical - Authentication bypass - SA-CONTRIB-2026-031 — SAML SSO - Service Provider--2026-05-28
CVE-2025-13392 Synology DiskStation Manager(DSM) 代码问题漏洞 — DiskStation Manager (DSM) 8.1 High2026-05-27
CVE-2026-4915 Server panic via outgoing webhook responses — Mattermost 6.5 Medium2026-05-25

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