CWE · MITRE source
CWE-393Return of Wrong Status Code
A function or operation returns an incorrect return value or status code that does not indicate the true result of execution, causing the product to modify its behavior based on the incorrect result.
This can lead to unpredictable behavior. If the function is used to make security-critical decisions or provide security-critical information, then the wrong status code can cause the product to assume that an action is safe or correct, even when it is not.
Last updated: 04 July 2026 00:28 UTC
NIST 800-53 r5 controls that address this weakness (0)AI
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
| No NIST controls proposed yet. | |||
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2023-37897 | 5.5 | 7.2 | 0.0226 | 2023-07-18 |
CVE-2024-49117 | 5.5 | 8.8 | 0.0100 | 2024-12-12 |
CVE-2025-5987 UPD | 5.5 | 8.1 | 0.0144 | 2025-07-07 |
CVE-2026-42246 UPD | 5.5 | 7.4 | 0.0032 | 2026-05-09 |
CVE-2026-53092 | 5.5 | 7.8 | 0.0012 | 2026-06-24 |
CVE-2026-55958 | 5.5 | 7.5 | 0.0027 | 2026-06-25 |
CVE-2020-5401 | 3.5 | 5.3 | 0.0104 | 2020-02-27 |
CVE-2025-32414 | 3.5 | 5.6 | 0.0033 | 2025-04-08 |
CVE-2025-24531 | 3.5 | 6.7 | 0.0024 | 2026-01-16 |