Mishandling of Exceptional Conditions

Programs that fail to prevent, detect, and respond to unusual situations, leading to crashes, unexpected behavior, and vulnerabilities.

A10:2025 · Medium severity · Updated November 6, 2026

What it is

Mishandling of Exceptional Conditions is new to A10:2025, replacing Server-Side Request Forgery (which dropped off the list and is now consolidated under A01:2025 Broken Access Control). The category covers improper error handling, logical errors, failing open, and other scenarios stemming from abnormal conditions that systems may encounter. It consolidates CWEs previously associated with 'poor code quality' into a more actionable category. OWASP's notable CWEs for this category: CWE-209 (Generation of Error Message Containing Sensitive Information), CWE-234 (Failure to Handle Missing Parameter), CWE-274 (Improper Handling of Insufficient Privileges), CWE-476 (NULL Pointer Dereference), and CWE-636 (Not Failing Securely / 'Failing Open').

Common patterns

  • Error handlers that catch exceptions broadly and then ignore them, allowing the application to continue in an undefined state.
  • Failing open: when an authentication or authorization check throws, the request is allowed through instead of rejected.
  • Stack traces or full exception details returned to the client, exposing internal paths, schema, and library versions.
  • Missing input validation that lets unexpected types or formats reach downstream logic.
  • NULL pointer dereferences in languages where checks would prevent crashes (Java, C, C++, Go without proper guards).
  • Transactions that partially complete and are not rolled back when an exceptional condition interrupts them.
  • Race conditions where unexpected timing causes inconsistent state.

What Deva detects

Deva's rule pack flags catch blocks that swallow exceptions without logging or rethrowing, and response handlers that include exception details in production responses. Fail-closed logic and transaction rollback are not checked, so review those paths by hand.

Real-world examples

YearIncidentWhat happened
2024CrowdStrike Falcon update (July 2024)A bad configuration update to the CrowdStrike Falcon sensor triggered an out-of-bounds read in the kernel driver (21 input fields against 20 supplied), causing roughly 8.5 million Windows systems worldwide to blue-screen. The incident demonstrated how mishandling of an exceptional condition (malformed config) at the kernel level can cascade into a global outage. Estimated direct cost exceeded 5 billion USD.
2019Cloudflare WAF outageA WAF rule with a badly backtracking regex exhausted CPU across Cloudflare's network on July 2, causing widespread 502 errors. The exceptional condition (catastrophic backtracking) was not handled with appropriate circuit-breaker logic at the edge.

Compliance framework impact

These educational references describe control topics, including frameworks Deva does not currently offer for evaluation. CMMC evaluation and SPRS scoring are unavailable. See the FAQ for supported frameworks and preview status. Code-level findings support an assessment; they do not certify compliance.

  • NIST 800-53 SI-11 Error Handling, SI-10 Information Input Validation
  • PCI-DSS v4.0.1 Req 6.2.4 Common software attacks
  • CMMC SI.L2-3.14.1 Flaw remediation
  • NIST SSDF PW.5 (secure coding practices, including error handling)

Related glossary terms