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. All weaknesses

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.

By year: all 2026 2025 2024 2023 2022 2021

  1. 5.8CVE-2026-103932owasp-modsecurity modsecurityEPSS 0.4%

    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-15686adminerEPSS 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-53090linux kernelEPSS 0.2%

    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-5818caliptra core runtime firmwareEPSS 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-46419yubico webauthn-server-coreEPSS 0.4%

    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-43863muttEPSS 0.3%

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

  8. 5.5CVE-2026-35340uutils coreutilsEPSS 0.2%

    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-35339uutils coreutilsEPSS 0.2%

    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 1.2%

    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-0648eclipse threadxEPSS 0.2%

    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-11839gnu binutilsEPSS 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-57767sangoma asteriskEPSS 0.9%

    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-54090apache http serverEPSS 1.3%

    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-43521microsoftEPSS 2.3%

    Windows Hyper-V Denial of Service Vulnerability

  16. 7.5CVE-2024-32475envoyproxy envoyEPSS 0.9%

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

    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-52040totolink x6000r firmwareEPSS 1.1%

    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-49286squid-cache squidEPSS 24%

    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-4501microfocusEPSS 1.0%

    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-24487citrixEPSS 1.9%

    Arbitrary file read in Citrix ADC and Citrix Gateway

  22. 5.3CVE-2023-34449parity ink\!EPSS 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-24880flask-session-captcha project flask-session-captchaEPSS 1.3%

    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-37625skytableEPSS 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-6107f2fs-tools project f2fs-toolsEPSS 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-7474keycloak keycloak-nodejs-auth-utilsEPSS 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.