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

  • Medium 5.5

    InDesign Desktop | Out-of-bounds Read (CWE-125)

    InDesign Desktop versions ID18.5.3, ID19.5 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of thi…

  • Medium 5.5

    InDesign Desktop | Out-of-bounds Read (CWE-125)

    InDesign Desktop versions ID18.5.3, ID19.5 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of thi…

  • Medium 5.5

    Substance3D - Painter | Out-of-bounds Read (CWE-125)

    Substance3D - Painter versions 10.1.0 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this iss…

  • Medium 5.5

    Substance3D - Painter | Out-of-bounds Read (CWE-125)

    Substance3D - Painter versions 10.1.0 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this iss…

  • Medium 5.5

    Substance3D - Painter | Out-of-bounds Read (CWE-125)

    Substance3D - Painter versions 10.1.0 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this iss…

  • Medium 5.5

    Substance3D - Painter | Out-of-bounds Read (CWE-125)

    Substance3D - Painter versions 10.1.0 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this iss…

  • Medium 5.5

    Illustrator | Out-of-bounds Read (CWE-125)

    Illustrator versions 28.7.1 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this issue require…

  • Medium 5.5

    Illustrator | Out-of-bounds Read (CWE-125)

    Illustrator versions 28.7.1 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this issue require…

  • Medium 5.5

    Illustrator | Out-of-bounds Read (CWE-125)

    Illustrator versions 28.7.1 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this issue require…

  • Medium 5.5

    Illustrator | Out-of-bounds Read (CWE-125)

    Illustrator versions 28.7.1 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this issue require…

  • Medium 5.5

    Bridge | Out-of-bounds Read (CWE-125)

    Bridge versions 13.0.9, 14.1.2 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this issue requ…

  • Medium 5.5

    After Effects | Out-of-bounds Read (CWE-125)

    After Effects versions 23.6.9, 24.6.2 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this iss…

  • Medium 5.5

    After Effects | Out-of-bounds Read (CWE-125)

    After Effects versions 23.6.9, 24.6.2 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this iss…

  • Medium 5.5

    After Effects | Out-of-bounds Read (CWE-125)

    After Effects versions 23.6.9, 24.6.2 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this iss…

  • Medium 5.5

    Audition | Out-of-bounds Read (CWE-125)

    Audition versions 23.6.9, 24.4.6 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this issue re…

  • High 7.8

    Microsoft Excel Remote Code Execution Vulnerability

    Microsoft Excel Remote Code Execution Vulnerability

  • Medium 6.8

    Windows USB Video Class System Driver Elevation of Privilege Vulnerability

    Windows USB Video Class System Driver Elevation of Privilege Vulnerability

  • High 7.8

    Windows Client-Side Caching Elevation of Privilege Vulnerability

    Windows Client-Side Caching Elevation of Privilege Vulnerability

  • Medium 6.8

    Windows USB Video Class System Driver Elevation of Privilege Vulnerability

    Windows USB Video Class System Driver Elevation of Privilege Vulnerability

  • Medium 6.8

    Windows USB Video Class System Driver Elevation of Privilege Vulnerability

    Windows USB Video Class System Driver Elevation of Privilege Vulnerability

  • Medium 6.8

    Windows USB Video Class System Driver Elevation of Privilege Vulnerability

    Windows USB Video Class System Driver Elevation of Privilege Vulnerability

  • Medium 6.8

    Windows USB Video Class System Driver Elevation of Privilege Vulnerability

    Windows USB Video Class System Driver Elevation of Privilege Vulnerability

  • Medium 5.5

    Animate | Out-of-bounds Read (CWE-125)

    Animate versions 23.0.7, 24.0.4 and earlier are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this issue req…

  • High 7.5

    An out-of-bounds read vulnerability in Ivanti Avalanche before 6.4.6 allows a remote unauthenticated attacker to leak s…

  • Medium 6.5

    bhyve(8) hda driver buffer over-read

    The hda driver is vulnerable to a buffer over-read from a guest-controlled value.

  • Medium 6.5

    bhyve(8) nvme_opc_get_log_page buffer over-read

    The NVMe driver function nvme_opc_get_log_page is vulnerable to a buffer over-read from a guest-controlled value.

  • High 7.8

    A vulnerability has been identified in Solid Edge SE2024 (All versions < V224.0 Update 9). The affected applications co…

  • High 7.8

    A vulnerability has been identified in Solid Edge SE2024 (All versions < V224.0 Update 9). The affected applications co…

  • Medium 5.3

    A vulnerability has been identified in SINEC INS (All versions < V1.0 SP2 Update 3). The affected application does not …

  • Medium 5.5

    An issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. There is an out-of-bounds read when read…

  • High 7.8

    An issue was discovered in psi/zfile.c in Artifex Ghostscript before 10.04.0. Out-of-bounds data access in filenamefora…

  • Medium 5.5

    netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write()

    In the Linux kernel, the following vulnerability has been resolved: netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write() This was found by a static analyzer. We should not forget the trailing zero after copy_from_user()…

  • High 7.3

    fs/ntfs3: Check if more than chunk-size bytes are written

    In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Check if more than chunk-size bytes are written A incorrectly formatted chunk may decompress into more than LZNT_CHUNK_SIZE bytes and a index out of bounds will occur in s_max_off.

  • High 7.1

    thunderbolt: Fix KASAN reported stack out-of-bounds read in tb_retimer_scan()

    In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Fix KASAN reported stack out-of-bounds read in tb_retimer_scan() KASAN reported following issue: BUG: KASAN: stack-out-of-bounds in tb_retimer_scan+0xffe/0x1550 [thunderbolt] Rea…

  • High 7.8

    RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages

    In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages Avoid memory corruption while setting up Level-2 PBL pages for the non MR resources when num_pages > 256K. There will be a single PD…

  • High 7.8

    vmir e8117 was discovered to contain a heap buffer overflow via the wasm_parse_section_functions function at /src/vmir_…

  • High 8.4

    pywasm3 has an Invalid Memory Read, Leading to DoS and Potential Code Execution

    wasm3 139076a suffers from Invalid Memory Read, leading to DoS and potential Code Execution.

  • High 8.4

    wasm3 uncontrolled memory allocation vulnerability

    wasm3 139076a contains memory leaks in Read_utf8.

  • High 8.8

    An issue in bytecodealliance wasm-micro-runtime before v.b3f728c and fixed in commit 06df58f allows a remote attacker t…

  • High 7.8

    RDMA/bnxt_re: Fix out of bound check

    In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: Fix out of bound check Driver exports pacing stats only on GenP5 and P7 adapters. But while parsing the pacing stats, driver has a check for "rdev->dbr_pacing". This caused a tr…