Skip to content
OpenAdvisories

Weakness (CWE)

CWE-252: Unchecked Return Value

Base Draft

The product does not check the return value from a method or function.

How to prevent it (4 mitigations)
  1. Implementation

    Check the results of all functions that return a value and verify that the value is expected.

  2. Implementation

    For any pointers that could have been modified or provided from a function that can return NULL, check the pointer for NULL before use. When working with a multithreaded or otherwise asynchronous environment, ensure that proper locking APIs are used to lock before the check, and unlock when it has finished [REF-1484].

  3. Implementation

    Ensure that you account for all possible return values from the function.

  4. Implementation

    When designing a function, make sure you return a value or throw an exception in case of an error.

Source: MITRE CWE-252

11 results · Clear filters · Feed

  • Critical 9.2

    WatchGuard AuthPoint Gateway Improper Authentication Allows Unauthenticated Denial of Service

    A Missing Authentication for Critical Function vulnerability in WatchGuard AuthPoint Gateway allows a remote unauthenticated attacker with network access to the AuthPoint Gateway host to disrupt authentication services and delete the local directory synchroni…

  • Critical 9.2
    CVE-2026-111497 Exploited Public exploit EPSS 83%

    Out-of-Bounds Write in Google Brotli Decoder

    A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms allows a remote unauthenticated attacker to corrupt adjacent decoder state memory, disclose sensitive memory contents, cause …

    KEV Oct 27, 2026
  • Critical 9.1

    Apache bRPC: Out-of-Bounds Write in Redis Command Parser

    The Redis server command parser in Apache bRPC accepts an empty RESP array as a command header. A remote unauthenticated attacker who can reach a bRPC server with Redis service enabled can send an empty array header followed by a bulk string, causing an out-o…

  • Critical 9.4

    SConnect: Native Host Unauthenticated Remote Code Execution Vulnerability

    This vulnerability enables unauthenticated remote code execution (RCE) on a victim's machine by exploiting a combination of cryptographic weaknesses and memory management issues in the SConnect native host component. The attack leverages an unrestricted messa…

  • Critical 9.3

    Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values

    Fiber Utils is a collection of common functions created for Fiber. In versions 2.0.0-rc.3 and below, when the system's cryptographic random number generator (crypto/rand) fails, both functions silently fall back to returning predictable UUID values, including…

  • Critical 9.1

    Apache Traffic Server: Server process can fail to drop privilege

    Unchecked return value can allow Apache Traffic Server to retain privileges on startup. This issue affects Apache Traffic Server: from 9.2.0 through 9.2.5, from 10.0.0 through 10.0.1. Users are recommended to upgrade to version 9.2.6 or 10.0.2, which fixes th…

  • Critical 9.1
  • Critical 10.0

    A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and …

  • Critical 9.8

    Out of bounds read in xcb

    An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because xcb::xproto::GetAtomNameReply::name() calls std::str::from_utf8_unchecked() on unvalidated bytes from an X server.

  • Critical 9.8

    A code execution vulnerability exists in the DICOM parse_dicom_meta_info functionality of Accusoft ImageGear 19.7. A sp…

  • Critical 9.8
    CVE-2007-3798 Public exploit EPSS 70%

    Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows remote attackers to execute ar…