cve.bz

CWE-253: Incorrect Check of Function Return Value

Filter

The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.

What the weakness is: CWE-253 at MITRE

Ask an AI about CWE-253

Show the promptExplain CWE-253: Incorrect Check of Function Return Value and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/253.html and https://cve.bz/cve/cwe/253?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.

  1. 5.8CVE-2026-103932

    ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.5 until 3.0.17, the PCRE2 implementation of @rxGlobal in src/utils/regex.cc converts pcre2_match match-limit errors int…

  2. 7.2CVE-2026-15686EPSS 1.1%

    Adminer multi_query Incorrect Check of Function Return Value Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Adminer. Authentication is required to expl…

  3. 7.5CVE-2026-59847EPSS 0.3%

    A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without detection.

  4. 7.8CVE-2026-53090EPSS 0.1%

    In the Linux kernel, the following vulnerability has been resolved: bpf: Fix ld_{abs,ind} failure path analysis in subprogs Usage of ld_{abs,ind} instructions got extended into subprogs some time ago via commit 09b28d76eac4 ("bpf: Add ab…

  5. 7.2CVE-2026-5818EPSS 0.2%

    Incorrect check of function return value in Caliptra Core Runtime Firmware (ActivateFirmwareCmd::activate_fw modules) allows bypass of Caliptra Core's verification of the MCU FW during a hitless update. This issue affects Core Runtime Fir…

  6. 7.5CVE-2026-46419EPSS 0.3%

    Yubico webauthn-server-core (aka java-webauthn-server) 2.8.0 before 2.8.2 incorrectly checks a function's return value in the second factor flow, leading to impersonation.

  7. 3.7CVE-2026-43863EPSS 0.2%

    mutt before 2.3.2 has an infinite loop in data_object_to_stream in crypt-gpgme.c.

  8. 5.5CVE-2026-35340EPSS 0.1%

    A flaw in the ChownExecutor used by uutils coreutils chown and chgrp causes the utilities to return an incorrect exit code during recursive operations. The final exit code is determined only by the last file processed. If the last operatio…

  9. 5.5CVE-2026-35339EPSS 0.1%

    The recursive mode (-R) of the chmod utility in uutils coreutils incorrectly handles exit codes when processing multiple files. The final return value is determined solely by the success or failure of the last file processed. This allows t…

  10. 8.2CVE-2026-35091EPSS 0.9%

    A flaw was found in Corosync. A remote unauthenticated attacker can exploit a wrong return value vulnerability in the Corosync membership commit token sanity check by sending a specially crafted User Datagram Protocol (UDP) packet. This ca…

  11. 6.3CVE-2026-0648EPSS 0.1%

    The vulnerability stems from an incorrect error-checking logic in the CreateCounter() function (in threadx/utility/rtos_compatibility_layers/OSEK/tx_osek.c) when handling the return value of osek_get_counter(). Specifically, the current co…

  12. 1.9CVE-2025-11839EPSS 0.3%

    A security flaw has been discovered in GNU Binutils 2.45. Impacted is the function tg_tag_type of the file prdbg.c. Performing a manipulation results in unchecked return value. The attack needs to be approached locally. The exploit has bee…

  13. 7.5CVE-2025-57767EPSS 0.4%

    Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.15.2, 21.10.2, and 22.5.2, if a SIP request is received with an Authorization header that contains a realm that wasn't in a previous 401 respons…

  14. 6.3CVE-2025-54090EPSS 0.9%

    A bug in Apache HTTP Server 2.4.64 results in all "RewriteCond expr ..." tests evaluating as "true". Users are recommended to upgrade to version 2.4.65, which fixes the issue.

  15. 7.5CVE-2024-43521EPSS 2.4%

    Windows Hyper-V Denial of Service Vulnerability

  16. 7.5CVE-2024-32475EPSS 0.7%

    Envoy is a cloud-native, open source edge and service proxy. When an upstream TLS cluster is used with `auto_sni` enabled, a request containing a `host`/`:authority` header longer than 255 characters triggers an abnormal termination of Env…

  17. 7.5CVE-2024-1622EPSS 1.0%

    Due to a mistake in error checking, Routinator will terminate when an incoming RTR connection is reset by the peer too quickly after opening.

  18. 9.8CVE-2023-52040EPSS 0.9%

    An issue discovered in TOTOLINK X6000R v9.4.0cu.852_B20230719 allows attackers to run arbitrary commands via the sub_41284C function.

  19. 7.5CVE-2023-49286EPSS 10%

    Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Due to an Incorrect Check of Function Return Value bug Squid is vulnerable to a Denial of Service attack against its Helper process management. This bug is fixed b…

  20. 9.8CVE-2023-4501EPSS 0.8%

    User authentication with username and password credentials is ineffective in OpenText (Micro Focus) Visual COBOL, COBOL Server, Enterprise Developer, and Enterprise Server (including product variants such as Enterprise Test Server), versio…

  21. 7.5CVE-2023-24487EPSS 1.1%

    Arbitrary file read in Citrix ADC and Citrix Gateway

  22. 5.3CVE-2023-34449EPSS 1.0%

    ink! is an embedded domain specific language to write smart contracts in Rust for blockchains built on the Substrate framework. Starting in version 4.0.0 and prior to version 4.2.1, the return value when using delegate call mechanics, eith…

  23. 5.3CVE-2022-24880EPSS 1.2%

    flask-session-captcha is a package which allows users to extend Flask by adding an image based captcha stored in a server side session. In versions prior to 1.2.1, he `captcha.validate()` function would return `None` if passed no value (e.…

  24. 7.5CVE-2021-37625EPSS 0.9%

    Skytable is an open source NoSQL database. In versions prior to 0.6.4 an incorrect check of return value of the accept function in the run-loop for a TCP socket/TLS socket/TCP+TLS multi-socket causes an early exit from the run loop that sh…

  25. 5.5CVE-2020-6107EPSS 1.5%

    An exploitable information disclosure vulnerability exists in the dev_read functionality of F2fs-Tools F2fs.Fsck 1.13. A specially crafted f2fs filesystem can cause an uninitialized read resulting in an information disclosure. An attacker …

  26. 9.8CVE-2017-7474EPSS 2.5%

    It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. An attacker could use this flaw to bypass authentication and gain access to restricted information, or to possibly conduct further attacks.