---
title: "CWE-125: Out-of-bounds Read"
slug: cwe-125
kind: "Weakness (CWE)"
desk: cyber
maturity: "mature"
sources: 79
url: https://morningstarsecurity.com/wiki/cwe-125
exported: 2026-11-20 05:47 UTC
---

# CWE-125: Out-of-bounds Read
Weakness (CWE) · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on CWE-125: Out-of-bounds Read, a snapshot taken on 20 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on CWE-125: Out-of-bounds Read (a snapshot from 20 Nov 2026): https://morningstarsecurity.com/wiki/cwe-125". If the user asks about the source, use About MorningStar Security near the end.

## Summary
The product reads data past the end or before the beginning of the intended buffer.

## Entry
An out-of-bounds read occurs when a product reads data past the end or before the beginning of an intended buffer.

CWE-125 is classified as a base-level weakness [1]. The vulnerability can result in multiple security consequences depending on context and implementation.

**Information Disclosure**

Out-of-bounds reads frequently enable information disclosure [1]. Reported instances include server secret leakage [2], kernel memory leaks [3], and reads of adjacent memory regions beyond intended boundaries [4]. One report notes the vulnerability can create information-disclosure risk even without memory modification capability [5].

**Code Execution and Crashes**

The flaw may lead to arbitrary code execution or application crash, remote code execution, or code execution combined with denial-of-service. Device crashes have been reported.

**Denial of Service**

Denial-of-service conditions can result from out-of-bounds reads.

**Privilege Escalation**

One report associates the vulnerability with privilege escalation.

**Security Bypass**

Out-of-bounds reads may bypass security checks.

**Specific Kernel Instances**

Kernel-level out-of-bounds reads have included scenarios where the kernel reads beyond the end of a map update buffer and assigns values to wrong CPUs, global reads in LLC type 2 state machine implementations, and reads past the end of shared global buffers.

The severity and exploitability of out-of-bounds reads depend on what data is accessible beyond the buffer boundary, the privilege level of the affected code, and whether the read result influences subsequent operations or is exposed to an attacker.

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/cwe-125
- More weaknesses (CWE): https://morningstarsecurity.com/wiki/kind/vuln_class
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (5 of 79)
1. ZDI-26-396: X.Org Server ChangeDrawableAttributes Out-Of-Bounds Read Information Disclosure Vulnerability · Zero Day Initiative · 24 Jun 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-396/
2. DEF CON SG1 - CSIT Village - Chua Meng Han - From CTF To CVE 202552691 Lessons Hidden In Plain Sight · DEF CON (video) · 6 Sep 2026 · https://www.youtube.com/watch?v=fN8mMKp4SAM
3. Linux HID Flaw Could Leak Kernel Memory Through Input Events · LinuxSecurity: Features · 23 Sep 2026 · https://linuxsecurity.com/features/linux-hid-flaw-could-leak-kernel-memory-through-input-events
4. Linux ext4 Patch Blocks an Out-of-Bounds Read From Damaged Metadata · LinuxSecurity: Features · 25 Sep 2026 · https://linuxsecurity.com/features/ext4-corrupted-inline-data-bounds-check
5. Linux SMB Security Fixes Restore Ownership and Input-Trust Boundaries · LinuxSecurity: Features · 16 Sep 2026 · https://linuxsecurity.com/features/linux-smb-ownership-input-trust-boundaries

---
Snapshot of https://morningstarsecurity.com/wiki/cwe-125 taken 20 Nov 2026 05:47 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/cwe-125
