cve.bz

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

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. 7.2CVE-2024-1713plv8EPSS 0.6%

    A user who can create objects in a database with plv8 3.2.1 installed is able to cause deferred triggers to execute as the Superuser during autovacuum.