Security Resilience

CWE · MITRE source

CWE-394Unexpected Status Code or Return Value

Abstraction: Base · CVEs in our corpus: 19

The product does not properly check when a function or operation returns a value that is legitimate for the function, but is not expected by the product.

Last updated: 28 November 2026 01:40 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: full · 11 mapping(s) from 4 framework(s): ISO_IEC_27002_2022 4 (mostly) · ATT&CK 3 (full) · 800-53 3 (mostly) · 1 (mostly)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A10:2025 Mishandling of Exceptional Conditions.

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.PS-06
  • SA-11 Developer Testing and Evaluation
  • SA-8 Security and Privacy Engineering Principles
  • SA-15 Development Process, Standards, and Tools
Detect
Catch it (CSF Detect / Respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)

—

Our mappings

NIST 800-53 r5 controls PROPOSED for this weakness (0)

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.
Our mappings

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing).

Direction: ← other covers this; → this covers other (F/M/P = full / mostly / partial). gov = governs / implements (a mandate, not coverage).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2026-123158 KEV8.78.10.89632026-11-05
CVE-2025-12515 7.49.80.00692025-10-30
CVE-2025-12516 7.49.80.00692025-10-30
CVE-2026-25085 6.78.60.01022026-02-27
CVE-2019-0066 6.17.50.01362019-10-09
CVE-2023-25948 6.07.50.00712023-07-13
CVE-2018-20802 5.46.50.01582020-11-23
CVE-2019-20924 5.46.50.01302020-11-23
CVE-2024-1713 5.37.20.00722024-03-14
CVE-2025-48510 5.27.10.00192025-11-24
CVE-2022-24880 4.75.30.01282022-04-25
CVE-2026-76956 4.75.90.00452026-08-20
CVE-2023-28975 3.84.60.00392023-04-17
CVE-2023-48429 2.72.70.00682023-12-12
CVE-2026-730642.52.90.00142026-09-24