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

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

    Substance3D - Painter versions 11.1.2 and earlier are affected by an out-of-bounds read vulnerability that could lead to memory exposure. An attacker could leverage this vulnerability to access sensitive information stored in memory. Exploitation of this issu…

  • Medium 5.5

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

    Substance3D - Painter versions 11.1.2 and earlier are affected by an out-of-bounds read vulnerability that could lead to memory exposure. An attacker could leverage this vulnerability to access sensitive information stored in memory. Exploitation of this issu…

  • High 7.8

    Premiere Pro | Out-of-bounds Read (CWE-125)

    Premiere Pro versions 25.5 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 structure. An attacker could leverage this vulnerability to execute code i…

  • Medium 6.1

    iccDEV has a heap out-of-bounds read in CTiffImg::ReadLine()

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to 2.3.1.5, there is a heap out-of-bounds read in CTiffImg::ReadLine() when iccApplyProfiles processes a crafted TIFF image, causing memory disclosure or crash.…

  • Medium 5.5

    iccDEV has a SEGV in CIccCLUT::Interp3d()

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to 2.3.1.5, there is a segmentation fault from invalid/wild pointer read in CIccCLUT::Interp3d() causing a denial of service. This vulnerability is fixed in 2.3…

  • Medium 5.5

    iccDEV has a SEGV in CIccCalculatorFunc::ApplySequence()

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to 2.3.1.5, there is a segmentation fault due to invalid/wild pointer read in CIccCalculatorFunc::ApplySequence() causing denial of service. This vulnerability …

  • Medium 5.5

    iccDEV has a heap-based buffer overflow write in CIccCLUT::Interp3d()

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to 2.3.1.5, there is a heap-based buffer overflow write in CIccMatrixMath::SetRange() causing memory corruption or crash. This vulnerability is fixed in 2.3.1.5.

  • Medium 6.1

    iccDEV has a heap out-of-bounds read in CIccCalculatorFunc::ApplySequence()

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to 2.3.1.5, there is a heap out-of-bounds read in CIccCalculatorFunc::ApplySequence() causing an application crash. This vulnerability is fixed in 2.3.1.5.

  • Medium 6.1

    iccDEV has a heap out-of-bounds read in CIccPcsXform::pushXYZConvert()

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to 2.3.1.5, there is a heap out-of-bounds read in CIccPcsXform::pushXYZConvert() causing crash and potentially leaking memory contents. This vulnerability is fi…

  • Medium 6.1

    iccDEV has a heap-buffer-overflow read in CIccXmlArrayType<>

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Prior to 2.3.1.5, there is a heap-buffer-overflow read in CIccXmlArrayType<>::DumpArray() causing out-of-bounds read and/or crash. This vulnerability is fixed in 2.3.…

  • High 8.4

    Microsoft Excel Remote Code Execution Vulnerability

    Out-of-bounds read in Microsoft Office Excel allows an unauthorized attacker to execute code locally.

  • High 7.5

    .NET Denial of Service Vulnerability

    Out-of-bounds read in .NET allows an unauthorized attacker to deny service over a network.

  • High 7.5

    GDI+ Information Disclosure Vulnerability

    Out-of-bounds read in Windows GDI+ allows an unauthorized attacker to disclose information over a network.

  • Medium 5.5

    Windows Graphics Component Information Disclosure Vulnerability

    Out-of-bounds read in Microsoft Graphics Component allows an unauthorized attacker to disclose information locally.

  • High 7.8

    Windows NTFS Elevation of Privilege Vulnerability

    Out-of-bounds read in Windows NTFS allows an authorized attacker to elevate privileges locally.

  • High 7.8

    Windows Extensible File Allocation Table Elevation of Privilege Vulnerability

    Out-of-bounds read in Windows Extensible File Allocation allows an authorized attacker to elevate privileges locally.

  • Medium 5.5

    Push message Routing Service Elevation of Privilege Vulnerability

    Out-of-bounds read in Push Message Routing Service allows an authorized attacker to disclose information locally.

  • High 7.8

    Windows Resilient File System (ReFS) Elevation of Privilege Vulnerability

    Out-of-bounds read in Windows Resilient File System (ReFS) allows an authorized attacker to elevate privileges locally.

  • High 7.8

    Windows Universal Disk Format File System Driver (UDFS) Elevation of Privilege Vulnerability

    Windows Universal Disk Format File System Driver (UDFS) Elevation of Privilege Vulnerability

  • Medium 4.4

    ImageMagick has a heap Buffer Over-Read in BilateralBlurImage

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16, BilateralBlurImage contains a heap buffer over-read caused by an incorrect conversion. When processing a crafted image with the -bilater…

  • High 8.1

    ImageMagick has an integer overflow in DIB coder can result in out of bounds read or write

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, an integer overflow in DIB coder can result in out of bounds read or write. This vulnerability is fixed in 7.1.2-16 and 6.…

  • Medium 4.8

    ImageMagick has a heap buffer over-read via 32-bit integer overflow in MAT decoder

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, MAT decoder uses 32-bit arithmetic due to incorrect parenthesization resulting in a heap over-read. This vulnerability is …

  • High 7.5

    Buffer Over-read DoS Vulnerability in COMMGR2

    Delta Electronics COMMGR2 has Buffer Over-read DoS vulnerability.

  • Medium 5.3

    libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds

    A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can…

  • Low 3.3

    xlnt-community xlnt Encrypted XLSX File compound_document.cpp read_directory out-of-bounds

    A vulnerability was determined in xlnt-community xlnt up to 1.6.1. Impacted is the function xlnt::detail::compound_document::read_directory of the file source/detail/cryptography/compound_document.cpp of the component Encrypted XLSX File Parser. Executing a m…

  • Low 3.3

    xlnt-community xlnt XLSX File compound_document.cpp xsgetn out-of-bounds

    A vulnerability was found in xlnt-community xlnt up to 1.6.1. This issue affects the function xlnt::detail::compound_document_istreambuf::xsgetn of the file source/detail/cryptography/compound_document.cpp of the component XLSX File Parser. Performing a manip…

  • Low 3.3

    Ettercap etterfilter ef_output.c add_data_segment out-of-bounds

    A vulnerability has been found in Ettercap 0.8.4-Garofalo. Affected by this vulnerability is the function add_data_segment of the file src/ettercap/utils/etterfilter/ef_output.c of the component etterfilter. The manipulation leads to out-of-bounds read. Local…

  • Medium 6.1

    An out-of-bounds read vulnerability exists in the ABF parsing functionality of The Biosig Project libbiosig 3.9.2 and M…

  • Low 2.7

    Exiv2: Out-of-bounds read in CrwMap::decode0x0805

    Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. Prior to version 0.28.8, an out-of-bounds read was found. The vulnerability is in the CRW image parser. This issue has been patched in …

  • Low 2.7

    Exiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer Overflow

    Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. Prior to version 0.28.8, an out-of-bounds read was found in Exiv2. The vulnerability is in the preview component, which is only trigger…

  • High 8.4

    In createRequest of MediaProvider.java, there is a possible way for an app to gain read/write access to non-existing fi…

  • Medium 5.3

    An integer overflow in the tt_var_load_item_variation_store function of the Freetype library in versions 2.13.2 and 2.1…

  • Medium 4.4

    In display, there is a possible out of bounds read due to a missing bounds check. This could lead to local information …

  • Medium 4.4

    In display, there is a possible out of bounds read due to a missing bounds check. This could lead to local information …

  • Low 3.3

    FascinatedBox lily lily_emitter.c clear_storages out-of-bounds

    A security flaw has been discovered in FascinatedBox lily up to 2.3. Impacted is the function clear_storages of the file src/lily_emitter.c. The manipulation results in out-of-bounds read. The attack is only possible with local access. The exploit has been re…

  • Low 3.3

    FascinatedBox lily Error Reporting lily_build_error.c patch_line_end out-of-bounds

    A vulnerability was identified in FascinatedBox lily up to 2.3. This issue affects the function patch_line_end of the file src/lily_build_error.c of the component Error Reporting. The manipulation leads to out-of-bounds read. The attack can only be performed …

  • Low 3.3

    wren-lang wren wren_compiler.c emitOp out-of-bounds

    A flaw has been found in wren-lang wren up to 0.4.0. Affected by this vulnerability is the function emitOp of the file src/vm/wren_compiler.c. This manipulation causes out-of-bounds read. It is possible to launch the attack on the local host. The exploit has …

  • Medium 4.4

    Vim has Heap-based Buffer Overflow and OOB Read in :terminal

    Vim is an open source, command line text editor. Prior to version 9.2.0076, a heap-based buffer overflow WRITE and an out-of-bounds READ exist in Vim's terminal emulator when processing maximum combining characters from Unicode supplementary planes. Version 9…

  • Medium 5.3

    Vim has Heap-based Buffer Underflow in Emacs tags parsing

    Vim is an open source, command line text editor. Prior to version 9.2.0075, a heap-based buffer underflow exists in Vim's Emacs-style tags file parsing logic. When processing a malformed tags file where a delimiter appears at the start of a line, Vim attempts…

  • Medium 4.4

    Vim has Heap-based Buffer Overflow in Emacs tags parsing

    Vim is an open source, command line text editor. Prior to version 9.2.0074, a heap-based buffer overflow out-of-bounds read exists in Vim's Emacs-style tags file parsing logic. When processing a malformed tags file, Vim can be tricked into reading up to 7 byt…