CWE-394: Unexpected Status Code or Return Value, published in 2025
Filter
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.
What the weakness is: CWE-394 at MITRE. OWASP Top 10: A10:2025 Mishandling of Exceptional Conditions. All weaknesses
Ask an AI about CWE-394
Show the prompt
Explain CWE-394: Unexpected Status Code or Return Value and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/394.html and https://cve.bz/cve/cwe/394?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.1CVE-2025-48510amd uprofEPSS 0.1%
Improper return value within AMD uProf can allow a local attacker to bypass KSLR, potentially resulting in loss of confidentiality or availability.
- 10.0CVE-2025-12516azure-accessEPSS 0.4%
Lack of Graceful Error Handling - HTTP 5xx ErrorThis issue affects BLU-IC2: through 1.19.5; BLU-IC4: through 1.19.5 .
- 10.0CVE-2025-12515azure-accessEPSS 0.4%
Systemic Internal Server Errors - HTTP 500 ResponseThis issue affects BLU-IC2: through 1.19.5; BLU-IC4: through 1.19.5 .
- 6.9CVE-2025-22854ping identity pingfederateEPSS 0.4%
Improper handling of non-200 http responses in the PingFederate Google Adapter leads to thread exhaustion under normal usage conditions.
- 7.3CVE-2025-23013yubico pam-u2fEPSS 0.4%
In Yubico pam-u2f before 1.3.1, local privilege escalation can sometimes occur. This product implements a Pluggable Authentication Module (PAM) that can be deployed to support authentication using a YubiKey or other FIDO compliant authenti…