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

6,278 results · Feed

  • High 7.5

    Some Huawei wearables have a vulnerability of not verifying the actual data size when reading data. Successful exploita…

  • Low 3.7

    There are multiple out of bounds (OOB) read vulnerabilities in the implementation of the Common Open Policy Service (CO…

  • Low 3.7

    There are multiple out of bounds (OOB) read vulnerabilities in the implementation of the Common Open Policy Service (CO…

  • Low 3.7

    There are multiple out of bounds (OOB) read vulnerabilities in the implementation of the Common Open Policy Service (CO…

  • Low 3.7

    There are multiple out of bounds (OOB) read vulnerabilities in the implementation of the Common Open Policy Service (CO…

  • Low 3.7

    There are multiple out of bounds (OOB) read vulnerabilities in the implementation of the Common Open Policy Service (CO…

  • High 7.8

    acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl

    In the Linux kernel, the following vulnerability has been resolved: acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl Fix an issue detected by syzbot with KASAN: BUG: KASAN: vmalloc-out-of-bounds in cmd_to_func drivers/acpi/nfit/ core.c:416 [inline] BUG…

  • High 7.1

    netfilter: x_tables: fix LED ID check in led_tg_check()

    In the Linux kernel, the following vulnerability has been resolved: netfilter: x_tables: fix LED ID check in led_tg_check() Syzbot has reported the following BUG detected by KASAN: BUG: KASAN: slab-out-of-bounds in strlen+0x58/0x70 Read of size 1 at addr ffff…

  • High 8.1

    ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read

    In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read An offset from client could be a negative value, It could lead to an out-of-bounds read from the stream_buf. Note that this issue is com…

  • High 7.8

    binder: fix OOB in binder_add_freeze_work()

    In the Linux kernel, the following vulnerability has been resolved: binder: fix OOB in binder_add_freeze_work() In binder_add_freeze_work() we iterate over the proc->nodes with the proc->inner_lock held. However, this lock is temporarily dropped to acquire th…

  • Low 3.7

    There are multiple out of bounds (OOB) read vulnerabilities in the implementation of the Common Open Policy Service (CO…

  • Low 3.7

    There are multiple out of bounds (OOB) read vulnerabilities in the implementation of the Common Open Policy Service (CO…

  • Medium 6.4

    There is an out-of-bound read and write vulnerability in Huawei smartphone. A module dose not verify the input sufficie…

  • High 7.1

    crypto: qat/qat_4xxx - fix off by one in uof_get_name()

    In the Linux kernel, the following vulnerability has been resolved: crypto: qat/qat_4xxx - fix off by one in uof_get_name() The fw_objs[] array has "num_objs" elements so the > needs to be >= to prevent an out of bounds read.

  • High 7.1
    CVE-2024-53150 Exploited

    ALSA: usb-audio: Fix out of bounds reads when finding clock sources

    In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix out of bounds reads when finding clock sources The current USB-audio driver code doesn't check bLength of each descriptor at traversing for clock descriptors. That is, wh…

    KEV Apr 9, 2025
  • High 7.8

    exfat: fix out-of-bounds access of directory entries

    In the Linux kernel, the following vulnerability has been resolved: exfat: fix out-of-bounds access of directory entries In the case of the directory size is greater than or equal to the cluster size, if start_clu becomes an EOF cluster(an invalid cluster) du…

  • Medium 4.3

    libpoppler.so in Poppler through 24.12.0 has an out-of-bounds read vulnerability within the JBIG2Bitmap::combine functi…

  • High 8.6

    Browsershot Improper Input Validation vulnerability

    Versions of the package spatie/browsershot before 5.0.3 are vulnerable to Improper Input Validation due to improper URL validation in the setUrl method. An attacker can exploit this vulnerability by utilizing view-source:file://, which allows for arbitrary fi…

  • Medium 5.3

    IBM MQ Appliance denial of service

    IBM MQ Appliance 9.3 LTS, 9.3 CD, and 9.4 LTS web console could allow an authenticated user to cause a denial-of-service when trace is enabled due to information being written into memory outside of the intended buffer size.

  • Medium 5.6
    CVE-2024-11616 Public exploit

    Double-fetch heap overflow

    Netskope was made aware of a security vulnerability in Netskope Endpoint DLP’s Content Control Driver where a double-fetch issue leads to heap overflow. The vulnerability arises from the fact that the NumberOfBytes argument to ExAllocatePoolWithTag, and the L…

  • Medium 5.5

    Acrobat Reader | Out-of-bounds Read (CWE-125)

    Acrobat Reader DC version 22.001.20085 (and earlier), 20.005.3031x (and earlier) and 17.012.30205 (and earlier) are 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 s…

  • Medium 5.5

    Acrobat Reader | Out-of-bounds Read (CWE-125)

    Acrobat Reader DC version 22.001.20085 (and earlier), 20.005.3031x (and earlier) and 17.012.30205 (and earlier) are 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 s…

  • Medium 5.5

    Acrobat Reader | Out-of-bounds Read (CWE-125)

    Acrobat Reader DC version 22.001.20085 (and earlier), 20.005.3031x (and earlier) and 17.012.30205 (and earlier) are 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 s…

  • High 8.0

    Out of bounds memory access in V8 in Google Chrome prior to 131.0.6778.204 allowed a remote attacker to execute arbitra…

  • Critical 10.0

    OOB Read in the android.hardware.boot.IBootControl/default service

    In isSlotMarkedSuccessful of BootControl.cpp, there is a possible out of bounds read due to a missing bounds check. This could lead to local  information disclosure with no additional execution privileges needed. User  interaction is not needed for exploitati…

  • High 7.4

    Dpdk: denial of service from malicious guest on hypervisors using dpdk vhost library

    An out-of-bounds read vulnerability was found in DPDK's Vhost library checksum offload feature. This issue enables an untrusted or compromised guest to crash the hypervisor's vSwitch by forging Virtio descriptors to cause out-of-bounds reads. This flaw allows…

  • High 8.1

    Cognition Devin before 2024-12-12 provides write access to code by an attacker who discovers the https://vscode-randoml…

  • High 7.8

    Horner Automation Cscape Out-of-bounds Read

    The vulnerability occurs in the parsing of CSP files. The issues result from the lack of proper validation of user-supplied data, which could allow reading past the end of allocated data structures, resulting in execution of arbitrary code.

  • High 7.8

    Horner Automation Cscape Out-of-bounds Read

    Horner Automation Cscape contains a memory corruption vulnerability, which could allow an attacker to disclose information and execute arbitrary code.

  • Medium 6.5

    Read/Write vulnerability in the image decoding module Impact: Successful exploitation of this vulnerability will affect…

  • Medium 6.5

    Read/Write vulnerability in the image decoding module Impact: Successful exploitation of this vulnerability will affect…

  • High 7.1

    Read/Write vulnerability in the image decoding module Impact: Successful exploitation of this vulnerability will affect…

  • Medium 6.5
    CVE-2024-54502 EPSS 17%

    The issue was addressed with improved checks. This issue is fixed in Safari 18.2, iOS 18.2 and iPadOS 18.2, iPadOS 17.7…

  • Medium 4.3

    The issue was addressed with improved routing of Safari-originated requests. This issue is fixed in Safari 18.2, iOS 18…

  • Medium 6.5

    The issue was addressed with improved memory handling. This issue is fixed in Safari 18.2, iOS 18.2 and iPadOS 18.2, iP…

  • Critical 9.8

    An out-of-bounds access issue was addressed with improved bounds checking. This issue is fixed in macOS Sequoia 15.2. A…

  • Medium 5.1

    GHSL-2024-258: GStreamer has an OOB-read in gst_wavparse_adtl_chunk

    GStreamer is a library for constructing graphs of media-handling components. An OOB-read vulnerability has been discovered in gst_wavparse_adtl_chunk within gstwavparse.c. This vulnerability arises due to insufficient validation of the size parameter, which c…

  • Medium 5.1

    GHSL-2024-259: GStreamer has an OOB-read in gst_wavparse_smpl_chunk

    GStreamer is a library for constructing graphs of media-handling components. An OOB-read vulnerability has been identified in the gst_wavparse_smpl_chunk function within gstwavparse.c. This function attempts to read 4 bytes from the data + 12 offset without c…

  • Medium 5.1

    GHSL-2024-260: GStreamer has a OOB-read in gst_wavparse_cue_chunk

    GStreamer is a library for constructing graphs of media-handling components. An OOB-read has been discovered in gst_wavparse_cue_chunk within gstwavparse.c. The vulnerability happens due to a discrepancy between the size of the data buffer and the size value …

  • Medium 5.1

    GHSL-2024-261: GStreamer has an OOB-read in parse_ds64

    GStreamer is a library for constructing graphs of media-handling components. An OOB-read vulnerability has been found in the parse_ds64 function within gstwavparse.c. The parse_ds64 function does not check that the buffer buf contains sufficient data before a…