cve.bz

CWE-393: Return of Wrong Status Code, published in 2025

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 promptExplain 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

  1. 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…

  2. 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…