cve.bz

CWE-394: Unexpected Status Code or Return Value, published in 2026

Filter

The product does not properly check when a function or operation returns a value that is legitimate for the function, but is not expected by the product.

What the weakness is: CWE-394 at MITRE. OWASP Top 10: A10:2025 Mishandling of Exceptional Conditions. All weaknesses

Ask an AI about CWE-394

Show the promptExplain CWE-394: Unexpected Status Code or Return Value and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/394.html and https://cve.bz/cve/cwe/394?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.9CVE-2026-131167pretixEPSS 0.7%

    pretix offloads certain processes to background tasks that are run by a different server to avoid HTTP workers being clogged with processes that take longer than a usual web request. The browser periodically polls the server to see if the …

  2. 8.1CVE-2026-123158openbsd opensshKEVEPSS 96%

    sshd in OpenSSH before 10.6p2 on Linux, when musl libc is used without PAM, lacks a workaround for a password authentication bypass (related to misinterpretation of whether a string is intended to be a password hash). For some configuratio…

  3. 6.3CVE-2026-107785sirius computer, inc. crux agentEPSS 0.1%

    Crux Agent from 1.9.0 before 2.0.3 uses the full SKA bilocation key as the WireGuard preshared key. When a peering session negotiates use of SHA-512, the key produced is 64 bytes instead of the 32 bytes WireGuard requires. The agent does n…

  4. 2.9CVE-2026-73064trustedfirmware mbed tlsEPSS 0.1%

    In Mbed TLS 3.2.0 though 3.6.6 and 4.0.0 through 4.1.0, an attacker who can cause an entropy source to fail can remove or inject bytes into the start of the TLS stream. This only affects TLS 1.3 servers.

  5. 7.5CVE-2026-76956libexpat project libexpatEPSS 0.3%

    In libexpat 2.8.2 and 2.8.3 before 2.8.4, misinterpretation of getentropy's return code leads to insufficient entropy, which results in being vulnerable to hash flooding attacks, causing a denial of service via crafted XML content.

  6. 9.8CVE-2026-25085copelandEPSS 0.7%

    A vulnerability exists in Copeland XWEB Pro version 1.12.1 and prior, in which an unexpected return value from the authentication routine is later on processed as a legitimate value, resulting in an authentication bypass.