CWE-394: Unexpected Status Code or Return Value, published in 2023
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
- 2.7CVE-2023-48429siemens sinec insEPSS 0.6%
A vulnerability has been identified in SINEC INS (All versions < V1.0 SP2 Update 2). The Web UI of affected devices does not check the length of parameters in certain conditions. This allows a malicious admin to crash the server by sending…
- 7.5CVE-2023-25948honeywellEPSS 0.6%
Server information leak of configuration data when an error is generated in response to a specially crafted message. See Honeywell Security Notification for recommendations on upgrading and versioning.
- 4.6CVE-2023-28975juniper junosEPSS 0.3%
An Unexpected Status Code or Return Value vulnerability in the kernel of Juniper Networks Junos OS allows an unauthenticated attacker with physical access to the device to cause a Denial of Service (DoS). When certain USB devices are conne…