CWE-393: Return of Wrong Status Code
Filter
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.
What the weakness is: CWE-393 at MITRE. All weaknesses
Ask an AI about CWE-393
Show the prompt
Explain CWE-393: Return of Wrong Status Code and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/393.html and https://cve.bz/cve/cwe/393?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
- 6.3CVE-2026-136907cesnet libyangEPSS 0.6%
CESNET libyang through 6.4.13 contains a return of wrong status code vulnerability in ly_in_filepath() in src/in.c that reports success when a new file cannot be opened or mapped. Attackers who make an application switch a reused input han…
- 9.9CVE-2026-97381legacyupdateEPSS 0.3%
Legacy Update is a tool for activating and installing updates on legacy Windows PCs. Legacy Update 1.12.0 through 1.13.1 contains an origin validation error in the IsPermitted method of its ActiveX control. After successfully reading the h…
- 8.1CVE-2026-92821EPSS 0.5%
A flaw was found in SSSD. When configured to evaluate password expiration warnings before restrictive access rules in LDAP (Lightweight Directory Access Protocol) environments, an expired-password warning terminates rule evaluation early a…
- 6.3CVE-2026-92834apache software foundation apache thriftEPSS 0.4%
Use of uninitialized resource, Return of wrong status code vulnerability in Apache Thrift C++ WebSocket server. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issu…
- 6.9CVE-2026-85087apache software foundation apache thriftEPSS 0.2%
Improper certificate validation, Return of wrong status code vulnerability in Apache Thrift python bindings. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.
- 6.3CVE-2026-85483apache software foundation apache thriftEPSS 0.4%
Use of uninitialized resource, Return of wrong status code vulnerability in Apache Thrift c_glib bindings. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.
- 8.3CVE-2026-55958wolfsslEPSS 0.4%
Out-of-bounds write in the Renesas TSIP TLS 1.3 transcript buffer. In tsip_StoreMessage() the capacity check guarding the fixed message bag (MSGBAG_SIZE) sets an error code but fails to return, so execution falls through to an XMEMCPY that…
- 7.8CVE-2026-53092linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix linked reg delta tracking when src_reg == dst_reg Consider the case of rX += rX where src_reg and dst_reg are pointers to the same bpf_reg_state in adjust_reg_m…
- 9.3CVE-2026-9058krajowa izba rozliczeniowa szafir sdkEPSS 0.4%
For untrusted certificates that contain the "Authority Information Access - caIssuers URI" extension, Szafir SDK will automatically download the parent CA certificate from the specified URL and will import it to its trust store as a "nonqu…
- 7.6CVE-2026-42246ruby-lang net\EPSS 0.4%
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.3.10, 0.4.24, 0.5.14, and 0.6.4, a man-in-the-middle attacker can cause Net::IMAP#starttls to return "successfully", without sta…
- 6.7CVE-2025-24531opensc project pam pkcs11EPSS 0.2%
In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.
- 8.1CVE-2025-5987libsshEPSS 2.3%
A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library. If an attacker manages to exhaust the heap space, this error is not detected and may lead to libssh using a partially initialized cipher context. This occu…
- 7.5CVE-2025-32414xmlsoft libxml2EPSS 0.4%
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a diffe…
- 8.8CVE-2024-49117microsoftEPSS 0.7%
Windows Hyper-V Remote Code Execution Vulnerability
- 8.8CVE-2023-37897getgrav gravEPSS 1.3%
Grav is a file-based Web-platform built in PHP. Grav is subject to a server side template injection (SSTI) vulnerability. The fix for another SSTI vulnerability using `|map`, `|filter` and `|reduce` twigs implemented in the commit `71bbed1…
- 5.3CVE-2020-5401cloudfoundry routing releaseEPSS 1.0%
Cloud Foundry Routing Release, versions prior to 0.197.0, contains GoRouter, which allows malicious clients to send invalid headers, causing caching layers to reject subsequent legitimate clients trying to access the app.