CWE-394: Unexpected Status Code or Return Value

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.

19 published CVE records name this weakness. Abstraction: Base. Status: Draft. CWE-394 at MITRE

CVETitleCVSSEPSSPublished
CVE-2026-131167 Unsafe usage of return values 8.9 high 0.43% 20 Nov 2026
CVE-2026-123158 KEV OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability 8.1 high 14.2% 5 Nov 2026
CVE-2026-107785 Crux Agent silently fails SKA preshared key rotation when SHA-512 peering is negotiated 6.3 medium 0.21% 9 Oct 2026
CVE-2026-73064 trustedfirmware Mbed TLS: Unexpected Status Code or Return Value 2.9 low 0.14% 24 Sep 2026
CVE-2026-76956 libexpat: Unexpected Status Code or Return Value 5.9 medium 0.45% 20 Aug 2026
CVE-2026-25085 Copeland XWEB and XWEB Pro Unexpected Status Code or Return Value 8.6 high 1.02% 27 Feb 2026
CVE-2025-48510 AMD μProf: Unexpected Status Code or Return Value 7.1 high 0.19% 24 Nov 2025
CVE-2025-12516 Lack of Graceful Error Handling - HTTP 5xx Error 10.0 critical 0.69% 30 Oct 2025
CVE-2025-12515 Systemic Internal Server Errors - HTTP 500 Response 10.0 critical 0.69% 30 Oct 2025
CVE-2025-22854 Possible thread exhaustion from processing http responses in PingFederate Google Adapter 6.9 medium 0.66% 15 Jun 2025
CVE-2025-23013 Yubico pam-u2f: Unexpected Status Code or Return Value 7.3 high 0.30% 15 Jan 2025
CVE-2024-1713 Plv8 Deferred Trigger Privilege Escalation 7.2 high 0.72% 14 Mar 2024
CVE-2023-48429 Siemens SINEC INS: Unexpected Status Code or Return Value 2.7 low 0.68% 12 Dec 2023
CVE-2023-25948 Server Data type confusion - info leak 7.5 high 0.71% 13 Jul 2023
CVE-2023-28975 Junos OS: The kernel will crash when certain USB devices are inserted 4.6 medium 0.39% 17 Apr 2023
CVE-2022-24880 Potential Captcha Validate Bypass in flask-session-captcha 5.3 medium 1.28% 25 Apr 2022
CVE-2019-20924 Invariant in IndexBoundsBuilder 6.5 medium 1.30% 23 Nov 2020
CVE-2018-20802 Post-auth queries on compound index may crash mongod 6.5 medium 1.58% 23 Nov 2020
CVE-2019-0066 Junos OS: A malformed IPv4 packet received by Junos in an NG-mVPN scenario may cause the routing protocol daemon (rpd) process to core 7.5 high 1.36% 9 Oct 2019