1. CVE archive
  2. Vulnerability types
  3. CWE-393
CWE-393 · #432 most frequent type in the archive

Return 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.

Part of: CWE-684 · Incorrect Provision of Specified Functionality

9CVEs of this type in the archive
0critical (CVSS ≥ 9)
4high severity (7–8.9)
Dec 2, 2026latest published

What it is

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.

Impact on systems

ScopeImpact
Integrity, Other Unexpected State, Alter Execution Logic
This weakness 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. This weakness could place the system in a state that could lead unexpected logic to be executed or other unintended behaviors.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-393 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20241
20251
20267

All CWE-393 CVEs

9 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.