Skip to content
OpenAdvisories

Weakness (CWE)

CWE-908: Use of Uninitialized Resource

Base Incomplete

The product uses or accesses a resource that has not been initialized.

How to prevent it (4 mitigations)
  1. Implementation

    Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.

  2. Implementation

    Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.

  3. Implementation

    Avoid race conditions (CWE-362) during initialization routines.

  4. Build and Compilation

    Run or compile the product with settings that generate warnings about uninitialized variables or data.

Source: MITRE CWE-908

560 results · Feed

  • Critical 9.8

    Memory corruption in array-tools

    An issue was discovered in the array-tools crate before 0.3.2 for Rust. FixedCapacityDequeLike::clone() has a drop of uninitialized memory.

  • Unscored —

    An information disclosure vulnerability was found in the virtio vhost-user GPU device (vhost-user-gpu) of QEMU in versi…

  • Unscored —

    A use of uninitialized value was found in libwebp in versions before 1.0.1 in ReadSymbol().

  • High 7.7

    Remote Memory Exposure

    This affects the package dns-packet before 5.2.2. It creates buffers with allocUnsafe and does not always fill them before forming network packets. This can expose internal application memory over unencrypted network when querying crafted invalid domain names.

  • Low 2.5

    Undefined behavior and `CHECK`-fail in `FractionalMaxPoolGrad`

    TensorFlow is an end-to-end open source platform for machine learning. The implementation of `tf.raw_ops.FractionalMaxPoolGrad` triggers an undefined behavior if one of the input tensors is empty. The code is also vulnerable to a denial of service attack as a…

  • Low 2.5

    Segfault in `CTCBeamSearchDecoder`

    TensorFlow is an end-to-end open source platform for machine learning. Due to lack of validation in `tf.raw_ops.CTCBeamSearchDecoder`, an attacker can trigger denial of service via segmentation faults. The implementation(https://github.com/tensorflow/tensorfl…

  • Low 3.6

    Uninitialized variable bug in Exiv2

    Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A read of uninitialized memory was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for rea…

  • High 7.5

    Use of uninitialized buffer in rkyv

    An issue was discovered in the rkyv crate before 0.6.0 for Rust. When an archive is created via serialization, the archive content may contain uninitialized values of certain parts of a struct.

  • Medium 6.0

    This vulnerability allows local attackers to disclose sensitive information on affected installations of Parallels Desk…

  • Medium 6.5

    This vulnerability allows local attackers to disclose sensitive information on affected installations of Parallels Desk…

  • Medium 6.5

    This vulnerability allows local attackers to disclose sensitive information on affected installations of Parallels Desk…

  • Medium 6.5

    This vulnerability allows local attackers to disclose sensitive information on affected installations of Parallels Desk…

  • Critical 9.8

    Free of uninitialized memory in adtensor

    An issue was discovered in the adtensor crate through 2021-01-11 for Rust. There is a drop of uninitialized memory via the FromIterator implementation for Vector and Matrix.

  • Critical 9.8

    Free of uninitialized memory in telemetry

    An issue was discovered in the telemetry crate through 2021-02-17 for Rust. There is a drop of uninitialized memory if a value.clone() call panics within misc::vec_with_size().

  • Critical 9.8

    Double free in toodee

    An issue was discovered in the toodee crate before 0.3.0 for Rust. Row insertion can cause a double free upon an iterator panic.

  • High 7.5

    Use of Uninitialized Resource in truetype

    An issue was discovered in the truetype crate before 0.30.1 for Rust. Attackers can read the contents of uninitialized memory locations via a user-provided Read operation within Tape::take_bytes.

  • Critical 9.8

    Drop of uninitialized memory in stack_dst

    An issue was discovered in the stack_dst crate before 0.6.1 for Rust. Because of the push_inner behavior, a double free can occur upon a val.clone() panic.

  • Critical 9.8

    Deserializing an array can free uninitialized memory in byte_struct

    An issue was discovered in the byte_struct crate before 0.6.1 for Rust. There can be a drop of uninitialized memory if a certain deserialization method panics.

  • High 7.5

    Use of Uninitialized Resource in ms3d

    An issue was discovered in the ms3d crate before 0.1.3 for Rust. It might allow attackers to obtain sensitive information from uninitialized memory locations via IoReader::read.

  • High 7.5

    Read on uninitialized buffer in postscript

    An issue was discovered in the postscript crate before 0.14.0 for Rust. It might allow attackers to obtain sensitive information from uninitialized memory locations via a user-provided Read implementation.

  • Critical 9.8

    Read of uninitialized memory in cdr

    An issue was discovered in Deserializer::read_vec in the cdr crate before 0.2.4 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated heap memory, violating soundness.

  • High 7.5

    Uninitialized buffer use in marc

    An issue was discovered in the marc crate before 2.0.0 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated memory, violating soundness.

  • High 7.8

    Free of uninitialized memory in autorand

    An issue was discovered in the autorand crate before 0.2.3 for Rust. Because of impl Random on arrays, uninitialized memory can be dropped when a panic occurs, leading to memory corruption.

  • Critical 9.1

    Out of bounds read in bra

    An issue was discovered in the bra crate before 0.1.1 for Rust. It lacks soundness because it can read uninitialized memory.

  • Unscored —

    There's a flaw in binutils /opcodes/tic4x-dis.c. An attacker who is able to submit a crafted input file to be processed…

  • Critical 9.8

    Drop of uninitialized memory in Ozone

    An issue was discovered in the ozone crate through 2020-07-04 for Rust. Memory safety is violated because of out-of-bounds access.

  • Critical 9.8

    Multiple security issues including data race, buffer overflow, and uninitialized memory drop in arr

    An issue was discovered in the arr crate through 2020-08-25 for Rust. An attacker can smuggle non-Sync/Send types across a thread boundary to cause a data race.

  • Medium 4.4

    Uninitialized memory access in Eigen types in TensorFlow

    In affected versions of TensorFlow under certain cases a saved model can trigger use of uninitialized values during code execution. This is caused by having tensor buffers be filled with the default value of the type but forgetting to default initialize the q…

  • Medium 4.4

    Heap out of bounds access in MakeEdge in TensorFlow

    In affected versions of TensorFlow under certain cases, loading a saved model can result in accessing uninitialized memory while building the computation graph. The MakeEdge function creates an edge between one output tensor of the src node (given by output_i…

  • High 7.1

    Memory corruption in Tensorflow

    In Tensorflow before versions 2.2.1 and 2.3.1, the implementation of `dlpack.to_dlpack` can be made to use uninitialized memory resulting in further memory corruption. This is because the pybind11 glue code assumes that the argument is a tensor. However, ther…

  • Low 3.3

    A flaw was found in the Linux kernel's implementation of Userspace core dumps. This flaw allows an attacker with a loca…

  • High 7.5

    Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability

    In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written …

  • High 7.5

    Uninitialized memory use in generator

    An issue was discovered in the generator crate before 0.6.18 for Rust. Uninitialized memory is used by Scope, done, and yield_ during API calls.

  • High 7.5

    Exposure of uninitialized memory in memoffset

    An issue was discovered in the memoffset crate before 0.5.0 for Rust. offset_of and span_of can cause exposure of uninitialized memory.

  • Medium 6.5

    Uninitialized memory exposure in claxon

    An issue was discovered in the claxon crate before 0.4.1 for Rust. Uninitialized memory can be exposed because certain decode buffer sizes are mishandled.

  • Medium 5.3

    Uninitialized read in Nokogiri gem

    In numbers.c in libxslt 1.1.33, an xsl:number with certain format strings could lead to a uninitialized read in xsltNumberFormatInsertNumbers. This could allow an attacker to discern whether a byte on the stack contains the characters A, a, I, i, or 0, or any…

  • Critical 9.8

    Junos OS: EX, QFX and MX series: Packet Forwarding Engine manager (FXPC) process crashes due to a crafted HTTP packet in a Virtual Chassis configuration

    A certain crafted HTTP packet can trigger an uninitialized function pointer deference vulnerability in the Packet Forwarding Engine manager (fxpc) on all EX, QFX and MX Series devices in a Virtual Chassis configuration. This issue can result in a crash of the…

  • Critical 9.8
    CVE-2012-1891 EPSS 29%

    Heap-based buffer overflow in Microsoft Data Access Components (MDAC) 2.8 SP1 and SP2 and Windows Data Access Component…

  • High 8.1
    CVE-2009-1529 EPSS 29%

    Microsoft Internet Explorer 7 for Windows XP SP2 and SP3; 7 for Server 2003 SP2; 7 for Vista Gold, SP1, and SP2; and 7 …

  • Critical 9.8
    CVE-2008-0081 Public exploit EPSS 58%

    Unspecified vulnerability in Microsoft Excel 2000 SP3 through 2003 SP2, Viewer 2003, and Office 2004 for Mac allows use…