Weakness (CWE)
CWE-125: Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
How to prevent it (2 mitigations)
-
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.
-
Architecture and Design
Use a language that provides appropriate memory abstractions.
Source: MITRE CWE-125
6,278 results · Feed
-
High 7.1
NVIDIA GPU Display Driver for Linux contains a vulnerability in a kernel mode layer handler, which may lead to denial o…
-
Medium 5.3
An information disclosure vulnerability exists in the TGAInput::read_tga2_header functionality of OpenImageIO Project O…
-
High 7.5
An out-of-bounds read vulnerability exists in the TGAInput::decode_pixel() functionality of OpenImageIO Project OpenIma…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Bentley View …
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Bentley Micro…
-
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 …
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Bentley View …
-
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.16.02…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Bentley Micro…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Bentley Micro…
-
Low 2.7
QTS, QuTS hero, QuTScloud, QVP (QVR Pro appliances)
A vulnerability has been reported to affect QNAP operating systems. If exploited, the out-of-bounds read vulnerability allows remote authenticated administrators to get secret values. The vulnerability affects the following QNAP operating systems: QTS, QuTS h…
-
Low 2.7
QTS, QuTS hero, QuTScloud, QVP (QVR Pro appliances)
A vulnerability has been reported to affect QNAP operating systems. If exploited, the out-of-bounds read vulnerability allows remote authenticated administrators to get secret values. The vulnerability affects the following QNAP operating systems: QTS, QuTS h…
-
High 7.8
This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. U…
-
High 7.8
This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. U…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange E…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Rea…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange E…
-
High 7.8
This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. U…
-
High 7.8
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader 11.2…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange E…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Edi…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange E…
-
High 7.8
This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. U…
-
High 7.8
This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. U…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Rea…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange E…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Rea…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange E…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange E…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange E…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange E…
-
Low 2.5CVE-2022-43650 EPSS 23%
This vulnerability allows remote attackers to disclose sensitive information on affected installations of RARLAB WinRAR…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Rea…
-
High 7.8
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Corel CorelDRAW Graph…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Corel CorelDR…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Corel CorelDR…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Corel CorelDR…
-
Low 3.3
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Corel CorelDR…