Incorrect Check of Function Return Value
CWE-253
The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.
We track 10 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 7.8.
How this weakness is prevented
- Architecture and Design: Use a language or compiler that uses exceptions and requires the catching of those exceptions.
- Implementation: Properly check all functions which return a value.
- Implementation: When designing any function make sure you return a value or throw an exception in case of an error.
Latest Incorrect Check of Function Return Value vulnerabilities
- 7.2 High severity
Adminer: Incorrect Check of Function Return Value
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 exploit this vulnerabilit
- 7.5 High severity
Red Hat Enterprise Linux 10: Incorrect Check of Function Return Value
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.
- 7.8 High severity
Linux: Incorrect Check of Function Return Value
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 abnormal return checks.")
- 7.2 High severity
Core Runtime Firmware: Incorrect Check of Function Return Value
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 Firmware: from 2.0.0 thro
- 7.5 High severity
webauthn-server-core: Incorrect Check of Function Return Value
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.
- 8.2 High severity
Red Hat Enterprise Linux 10: Incorrect Check of Function Return Value
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 can lead to an out-of-b
- 7.5 High severity
asterisk: Incorrect Check of Function Return Value
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 response's WWW-Authenticate
- 7.5 High severity
envoy: Incorrect Check of Function Return Value
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 Envoy process. Envoy doe
- 7.5 High severity
squid: Reachable Assertion
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 by Squid version 6.5.
- 9.8 Critical severity
Visual COBOL, COBOL Server, Enterprise…: Improper Authentication
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), versions 7.0 patch updates