Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-125 (跨界内存读) — Vulnerability Class 4337

4337 vulnerabilities classified as CWE-125 (跨界内存读). AI Chinese analysis included.

CWE-125, Out-of-bounds Read, is a memory safety weakness where software accesses memory locations outside the designated buffer boundaries, either before its start or past its end. This vulnerability typically arises from insufficient bounds checking during array indexing or pointer arithmetic, allowing attackers to read sensitive data such as stack canaries, cryptographic keys, or internal application state. By leveraging this flaw, adversaries can achieve information disclosure or potentially facilitate further exploitation techniques like heap spraying. Developers mitigate this risk by implementing rigorous input validation, utilizing static analysis tools to detect unsafe memory access patterns, and adopting safer programming languages or libraries that enforce automatic bounds checking. Additionally, employing compiler protections like Address Sanitizer during development helps identify these errors early, ensuring that memory reads remain strictly within allocated limits to prevent unauthorized data exposure.

MITRE CWE Description
The product reads data past the end, or before the beginning, of the intended buffer.
Common Consequences (4)
Confidentiality Read Memory
An attacker could get secret values such as cryptographic keys, PII, memory addresses, or other information that could be used in additional attacks.
Confidentiality Bypass Protection Mechanism
Out-of-bounds memory could contain memory addresses or other information that can be used to bypass ASLR and other protection mechanisms in order to improve the reliability of exploiting a separate weakness for code execution.
Availability DoS: Crash, Exit, or Restart
An attacker could cause a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer. This is especially likely when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string.
Other Varies by Context
The read operation could produce other undefined or unexpected results.
Mitigations (2)
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…
Architecture and Design Use a language that provides appropriate memory abstractions.
Examples (2)
In the following code, the method retrieves a value from an array at a specific array index location that is given as an input parameter to the method
int getValueFromArray(int *array, int len, int index) { int value; // check that the array index is less than the maximum // length of the array if (index < len) { // get the value at the specified index of the array value = array[index]; } // if array index is invalid then output error message // and return value indicating error else { printf("Value is: %d\n", array[index]); value = -1; } return value; }
Bad · C
... // check that the array index is within the correct // range of values for the array if (index >= 0 && index < len) { ...
Good · C
In the following C/C++ example the method processMessageFromSocket() will get a message from a socket, placed into a buffer, and will parse the contents of the buffer into a structure that contains the message length and the message body. A for loop is used to copy the message body into a local character string which will be passed to another method for processing.
int processMessageFromSocket(int socket) { int success; char buffer[BUFFER_SIZE]; char message[MESSAGE_SIZE]; // get message from socket and store into buffer //Ignoring possibliity that buffer > BUFFER_SIZE if (getMessage(socket, buffer, BUFFER_SIZE) > 0) { // place contents of the buffer into message structure ExMessage *msg = recastBuffer(buffer); // copy message body into string for processing int index; for (index = 0; index < msg->msgLength; index++) { message[index] = msg->msgBody[index]; } message[index] = '\0'; // process message success = processMessage(message); } return success; }
Bad · C
CVE ID Title CVSS Severity Published
CVE-2026-112896 Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read — Pillow 8.8 High 2026-10-19
CVE-2026-112260 Gimp: gimp: heap out-of-bounds read in xcf text-layer parasite parsing — Red Hat Enterprise Linux 10 7.1 High 2026-10-19
CVE-2026-12669 IBM MQ Out-of-bounds Read — MQ Operator 3.1 Low 2026-10-19
CVE-2026-112284 libaribcaption 1.1.0 through 1.1.2 Out-of-Bounds Read via DecoderImpl::HandleGLGR — libaribcaption 3.3 Low 2026-10-19
CVE-2026-112282 VideoLAN libbluray through 1.5.1 Out-of-Bounds Read via clpi_access_point — libbluray 5.5 Medium 2026-10-19
CVE-2026-112279 rdesktop through 1.9.0 Heap Out-of-Bounds Read via process_bmpcache2 — rdesktop 6.5 Medium 2026-10-19
CVE-2026-112278 rdesktop through 1.9.0 Heap Out-of-Bounds Read via process_raw_bmpcache — rdesktop 6.5 Medium 2026-10-19
CVE-2026-112277 rdesktop through 1.9.0 Heap Out-of-Bounds Read via process_plane — rdesktop 6.5 Medium 2026-10-19
CVE-2026-112276 Netpbm through 11.16.00 Heap Out-of-Bounds Read via rasttopnm Colormap — Netpbm 6.1 Medium 2026-10-19
CVE-2026-112274 libtins through 4.6 Out-of-Bounds Read via DNS::soa_record::init — libtins 3.7 Low 2026-10-19
CVE-2026-112273 libtins through 4.6 Heap Out-of-Bounds Read via DNS::compose_name — libtins 5.3 Medium 2026-10-19
CVE-2026-112272 libdisplay-info 0.4.0 Heap Out-of-Bounds Read via DisplayID v2 Parser — libdisplay-info 5.5 Medium 2026-10-19
CVE-2026-112271 libdisplay-info through 0.4.0 Heap Out-of-Bounds Read via DisplayID v1 Parser — libdisplay-info 5.5 Medium 2026-10-19
CVE-2026-112073 Tencent ncnn MatMul matmul.cpp matmul_transb out-of-bounds — ncnn 6.3 Medium 2026-10-19
CVE-2026-112061 librtmp (RTMPDump) through 2.6 Heap Out-of-Bounds Read via AMFProp_Decode — librtmp 4.3 Medium 2026-10-18
CVE-2026-112058 libdvdnav through 7.0.0 Out-of-Bounds Read via set_PTT JumpTT — libdvdnav 5.5 Medium 2026-10-18
CVE-2026-112057 libdvdnav before 7.0.0 Out-of-Bounds Read in dvdnav_describe_title_chapters — libdvdnav 5.5 Medium 2026-10-18
CVE-2026-112056 wvWare wv through 1.2.9 Heap Out-of-Bounds Read via wvGetSTSH — wv 5.5 Medium 2026-10-18
CVE-2026-112055 wvWare wv through 1.2.9 Stack Out-of-Bounds Read via wvGetPAPX_FKP and wvGetCHPX_FKP — wv 5.5 Medium 2026-10-18
CVE-2026-112053 Schroedinger libschroedinger through 1.0.11 Out-of-Bounds Read via schro_params_set_default_quant_matrix — schroedinger 5.5 Medium 2026-10-18
CVE-2026-112020 LodePNG through 20261006 Heap Out-of-Bounds Read via getFilterTypesInterlaced() — lodepng 6.1 Medium 2026-10-18
CVE-2026-112019 cgltf through 1.15 Heap Out-of-Bounds Read via cgltf_accessor_unpack_floats() — cgltf 6.1 Medium 2026-10-18
CVE-2026-112009 smpeg through 2.0.0 Heap Out-of-Bounds Read via MPEGsystem::FillBuffer — smpeg 5.5 Medium 2026-10-18
CVE-2026-111678 Antiword through 0.37 Stack Out-of-Bounds Read via prop8.c FKP Parsing — antiword 3.3 Low 2026-10-16
CVE-2026-111677 Antiword through 0.37 Heap Out-of-Bounds Read via vGet8LstInfo in prop8.c — antiword 5.5 Medium 2026-10-16
CVE-2026-49868 RIOT: DHCPv6 client _parse_reply() missing sub-option length check leads to size_t underflow and unbounded OOB heap read — RIOT 9.8 Critical 2026-10-16
CVE-2026-68906 libIEC61850: Infinite loop and out-of-bounds read in ACSE parseUserInformation when parsing a malformed AARE PDU — libiec61850 8.7 High 2026-10-16
CVE-2026-68907 libIEC61850: Server-side out-of-bounds stack read in association-specific dynamic dataset creation due to reversed StringUtils_copyStringToBuffer arguments — libiec61850 8.2 High 2026-10-16
CVE-2026-102941 gomarkdown/markdown IsSafeURL panics on short URLs — markdown 7.5 High 2026-10-16
CVE-2026-105228 ISPSoft Out-of-Bounds Read Vulnerability — ISPSoft 7.0 High 2026-10-16

Vulnerabilities classified as CWE-125 (跨界内存读) represent 4337 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.