Skip to content
OpenAdvisories

Weakness (CWE)

CWE-125: Out-of-bounds Read

Base Draft

The product reads data past the end, or before the beginning, of the intended buffer.

How to prevent it (2 mitigations)
  1. Implementation

    Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.

    When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."

    Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

    To reduce the likelihood of introducing an out-of-bounds read, ensure that you validate and ensure correct calculations for any length argument, buffer size calculation, or offset. Be especially careful of relying on a sentinel (i.e. special character such as NUL) in untrusted inputs.

  2. Architecture and Design

    Use a language that provides appropriate memory abstractions.

Source: MITRE CWE-125

2,118 results · Clear filters · Feed

  • High 7.8

    Delta Electronics ASDA-Soft Out-of-bounds Read

    ASDA-Soft: Version 5.4.1.0 and prior does not properly sanitize input while processing a specific project file, allowing a possible out-of-bounds read condition.

  • High 7.1

    Out-of-bounds Read in r_bin_java_bootstrap_methods_attr_new function in radareorg/radare2

    Out-of-bounds Read in r_bin_java_bootstrap_methods_attr_new function in GitHub repository radareorg/radare2 prior to 5.7.0. The bug causes the program reads data past the end 2f the intented buffer. Typically, this can allow attackers to read sensitive inform…

  • High 7.7

    Out-of-bounds Read in mrb_obj_is_kind_of in in mruby/mruby

    Out-of-bounds Read in mrb_obj_is_kind_of in in GitHub repository mruby/mruby prior to 3.2. # Impact: Possible arbitrary code execution if being exploited.

  • High 7.1

    ncurses 6.3 before patch 20220416 has an out-of-bounds read and segmentation violation in convert_strings in tinfo/read…

  • High 7.8

    An out-of-bounds read/write vulnerability was found in e2fsprogs 1.46.5. This issue leads to a segmentation fault and p…

  • High 7.1

    An out-of-bounds read vulnerability exists in the IOCTL GetProcessCommand and B_03 of Webroot Secure Anywhere 21.4. A s…

  • High 7.1

    An out-of-bounds read vulnerability exists in the IOCTL GetProcessCommand and B_03 of Webroot Secure Anywhere 21.4. A s…

  • High 7.8

    ICSA-22-090-03 Fuji Electric Alpha5

    The affected product is vulnerable to an out-of-bounds read, which may result in code execution

  • High 8.4

    Out-of-bounds Read in mrb_get_args in mruby/mruby

    Out-of-bounds Read in mrb_get_args in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.

  • High 7.8

    Bandisoft ARK Library Out-of-bound Vulnerability

    A remote code execution vulnerability due to incomplete check for 'xheader_decode_path_record' function's parameter length value in the ark library. Remote attackers can induce exploit malicious code using this function.

  • High 7.5

    Indexer denial-of-service via malformed S2S request

    The lack of validation of a key-value field in the Splunk-to-Splunk protocol results in a denial-of-service in Splunk Enterprise instances configured to index Universal Forwarder traffic. The vulnerability impacts Splunk Enterprise versions before 7.3.9, 8.0 …

  • High 7.8

    Adobe Bridge Out-of-bounds read could lead to Arbitrary Code Execution

    Adobe Bridge version 11.1.1 (and earlier) is affected by an out-of-bounds read vulnerability when parsing a crafted file, which could result in a read past the end of an allocated memory structure. An attacker could leverage this vulnerability to execute code…

  • High 7.8

    Adobe Bridge Out-of-bounds read could lead to Arbitrary Code Execution

    Adobe Bridge version 11.1.1 (and earlier) is affected by an out-of-bounds read vulnerability when parsing a crafted file, which could result in a read past the end of an allocated memory structure. An attacker could leverage this vulnerability to execute code…

  • High 7.1

    Adobe Bridge Out-of-bounds read could lead to Arbitrary Code Execution

    Adobe Bridge version 11.1.1 (and earlier) is affected by an out-of-bounds read vulnerability when parsing a crafted .jpe file, which could result in a read past the end of an allocated memory structure. An attacker could leverage this vulnerability to execute…

  • High 7.8

    ICSA-22-055-01 FATEK Automation FvDesigner

    The affected product is vulnerable to an out-of-bounds read while processing project files, which allows an attacker to craft a project file that would allow arbitrary code execution.

  • High 8.8
    CVE-2021-44142 Public exploit EPSS 74%

    The Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple S…

  • High 7.1

    Out-of-bounds Read in mruby/mruby

    Out-of-bounds Read in Homebrew mruby prior to 3.2.

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.1…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader Foxi…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation …

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation …

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation …

  • High 7.8

    Bentley MicroStation CONNECT 10.16.0.80 J2K File Parsing Out-Of-Bounds Read Remote Code Execution Vulnerability. This v…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation …

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation …

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation …

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation …

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation …

  • High 8.4

    Out-of-bounds Read in mruby/mruby

    Out-of-bounds Read in Homebrew mruby prior to 3.2.

  • High 8.8

    Read and Write outside of bounds in TFLite

    Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would allow limited reads and writes outside of arrays in TFLite. This exploits missing validation in the conversion from sparse tensors to dense tensors. The f…

  • High 8.8

    Out of bounds read and write in Tensorflow

    Tensorflow is an Open Source Machine Learning Framework. There is a typo in TensorFlow's `SpecializeType` which results in heap OOB read/write. Due to a typo, `arg` is initialized to the `i`th mutable argument in a loop where the loop index is `j`. Hence it i…

  • High 8.1

    Out of bounds read in Tensorflow

    Tensorflow is an Open Source Machine Learning Framework. TensorFlow's type inference can cause a heap out of bounds read as the bounds checking is done in a `DCHECK` (which is a no-op during production). An attacker can control the `input_idx` variable such t…

  • High 8.8

    Out of bounds read in Tensorflow

    Tensorflow is an Open Source Machine Learning Framework. The TFG dialect of TensorFlow (MLIR) makes several assumptions about the incoming `GraphDef` before converting it to the MLIR-based dialect. If an attacker changes the `SavedModel` format on disk to inv…

  • High 8.1

    Out of bounds read in Tensorflow

    Tensorflow is an Open Source Machine Learning Framework. The implementation of `Dequantize` does not fully validate the value of `axis` and can result in heap OOB accesses. The `axis` argument can be `-1` (the default value for the optional argument) or any o…

  • High 8.1
    CVE-2022-21728 Public exploit

    Out of bounds read in Tensorflow

    Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `ReverseSequence` does not fully validate the value of `batch_dim` and can result in a heap OOB read. There is a check to make sure the value of `batch_dim` doe…

  • High 8.1

    Out of bounds read in Tensorflow

    Tensorflow is an Open Source Machine Learning Framework. The implementation of `FractionalAvgPoolGrad` does not consider cases where the input tensors are invalid allowing an attacker to read from outside of bounds of heap. The fix will be included in TensorF…

  • High 8.4

    Out-of-bounds Read in vim/vim

    Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.