CWE-393: 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.
Last updated
Overview
CWE-393 (Return of Wrong Status Code) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
34 recorded CVEs are caused by CWE-393 (Return of Wrong Status Code). The highest-severity and most recent are shown first. 21 new CWE-393 CVEs have been recorded so far in 2026 (4 in 2025).
- CVE-2026-99607
ext2: preserve IOMAP_F_DIRTY for extending direct writes
Critical · CVSS 9.8 · EPSS 6th2026-11-20 - CVE-2026-99575
f2fs: return -EIO for a lost inode block after cp_error
Critical · CVSS 9.8 · EPSS 6th2026-11-20 - CVE-2024-49117
Windows Hyper-V Remote Code Execution Vulnerability
High · CVSS 8.8 · EPSS 50th2024-12-10