What is CWE-125?
The product reads data past the end, or before the beginning, of the intended buffer.
CWE-125 is a base-level weakness in MITRE’s Common Weakness Enumeration. Applicable platforms: Language: Memory-Unsafe; Language: C; Language: C++; Technology: ICS/OT.
Source: MITRE CWE (CWE-125 definition, reproduced verbatim). Counts and linkage below are Threadlinqs data.
Consequences
- 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.
Source: MITRE CWE, common consequences.
How CWE-125 is exploited in the wild
Threadlinqs maps 133 CVEs to CWE-125, published between 2019-09-11 and 2026-11-09. 8 are listed in CISA’s Known Exploited Vulnerabilities catalog, the authoritative record of exploitation in the wild, and 2 are tied to ransomware campaigns. By CVSS v3 severity the set splits into 9 critical, 51 high, 53 medium, 12 low. The highest EPSS score in the set is 99.9% (CVE-2025-5777), the modelled probability of exploitation in the next 30 days. 104 tracked threats reference CWE-125 directly or through a CVE it covers; the most recent is “Notepad++ 8.9.9 Fixes 6 Vulnerabilities (Local Privilege Escalation, Command Dispatch, Heap Overflows in MIME Tools) - No CVEs Assigned” (2026-11-10). Affected products concentrate in Google (17), Microsoft (17), MZ Automation GmbH (8), among 63 vendors in total.
Vulnerabilities (CVEs)
Showing 40 of 133 CVEs mapped to CWE-125, CISA KEV first, then by CVSS score.
- CVE-2026-3055 — CISA KEV · CVSS 9.3 critical · EPSS 4.0% · published 2026-03-23
- CVE-2026-11645 — CISA KEV · CVSS 8.8 high · EPSS 2.4% · published 2026-06-08
- CVE-2021-4034 — CISA KEV · CVSS 7.8 high · EPSS 94.3% · published 2022-01-28
- CVE-2023-36424 — CISA KEV · CVSS 7.8 high · EPSS 12.1% · published 2023-11-14
- CVE-2025-5777 — CISA KEV · CVSS 7.5 high · EPSS 99.9% · published 2025-06-17
- CVE-2025-22226 — CISA KEV · CVSS 7.1 high · EPSS 1.7% · published 2025-03-04
- CVE-2023-42916 — CISA KEV · CVSS 6.5 medium · EPSS 17.8% · published 2023-11-30
- CVE-2023-28204 — CISA KEV · CVSS 6.5 medium · EPSS 14.2% · published 2023-06-23
- CVE-2026-69493 — CVSS 9.8 critical · EPSS 0.9% · published 2026-09-08
- CVE-2026-69715 — CVSS 9.8 critical · EPSS 0.9% · published 2026-09-08
- CVE-2026-10881 — CVSS 9.6 critical · EPSS 0.3% · published 2026-06-04
- CVE-2026-16419 — CVSS 9.6 critical · EPSS 0.2% · published 2026-07-21
- CVE-2026-14416 — CVSS 9.6 critical · EPSS 0.2% · published 2026-07-01
- CVE-2026-0106 — CVSS 9.3 critical · EPSS 0.1% · published 2026-02-05
- CVE-2026-7482 — CVSS 9.1 critical · EPSS 1.0% · published 2026-05-04
- CVE-2026-58102 — CVSS 9.1 critical · EPSS 0.1% · published 2026-07-13
- CVE-2026-105718 — CVSS 8.8 high · EPSS 0.9% · published 2026-10-13
- CVE-2026-57094 — CVSS 8.8 high · EPSS 0.8% · published 2026-07-14
- CVE-2026-97755 — CVSS 8.8 high · EPSS 0.8% · published 2026-10-13
- CVE-2026-31433 — CVSS 8.8 high · EPSS 0.6% · published 2026-04-22
- CVE-2026-15114 — CVSS 8.8 high · EPSS 0.3% · published 2026-07-08
- CVE-2026-9121 — CVSS 8.8 high · EPSS 0.3% · published 2026-05-20
- CVE-2026-118328 — CVSS 8.8 high · EPSS 0.2% · published 2026-10-27
- CVE-2026-118346 — CVSS 8.8 high · EPSS 0.2% · published 2026-10-27
- CVE-2026-0799 — CVSS 8.7 high · EPSS 0.1% · published 2026-09-05
- CVE-2026-76457 — CVSS 8.6 high · EPSS 0.2% · published 2026-10-07
- CVE-2026-55045 — CVSS 8.4 high · EPSS 0.4% · published 2026-07-14
- CVE-2026-121140 — CVSS 8.3 high · EPSS 0.3% · published 2026-11-03
- CVE-2024-39720 — CVSS 8.2 high · EPSS 2.4% · published 2024-10-31
- CVE-2026-85455 — CVSS 8.2 high · EPSS 0.3% · published 2026-09-03
- CVE-2026-92698 — CVSS 8.2 high · EPSS 0.3% · published 2026-11-05
- CVE-2026-93442 — CVSS 8.2 high · EPSS 0.3% · published 2026-10-20
- CVE-2026-92693 — CVSS 8.2 high · EPSS 0.2% · published 2026-11-05
- CVE-2026-92695 — CVSS 8.2 high · EPSS 0.2% · published 2026-11-05
- CVE-2026-90560 — CVSS 8.2 high · published 2026-09-12
- CVE-2026-83844 — CVSS 8.1 high · EPSS 0.7% · published 2026-10-13
- CVE-2019-16098 — CVSS 7.8 high · EPSS 19.8% · published 2019-09-11
- CVE-2025-60727 — CVSS 7.8 high · EPSS 0.6% · published 2025-11-11
- CVE-2026-63515 — CVSS 7.8 high · EPSS 0.4% · published 2026-08-11
- CVE-2026-64909 — CVSS 7.8 high · EPSS 0.4% · published 2026-08-11
Affected vendors
- Google — 17 CVEs
- Microsoft — 17 CVEs
- MZ Automation GmbH — 8 CVEs
- Linux — 4 CVEs
- Mozilla — 4 CVEs
- Red Hat — 4 CVEs
- Wireshark Foundation — 4 CVEs
- pavel-odintsov — 4 CVEs
- Apple — 3 CVEs
- Citrix — 3 CVEs
- strukturag — 3 CVEs
- zephyrproject — 3 CVEs
Threat activity
104 tracked threats cite CWE-125; the 25 most recent are listed.
- Notepad++ 8.9.9 Fixes 6 Vulnerabilities (Local Privilege Escalation, Command Dispatch, Heap Overflows in MIME Tools) - No CVEs AssignedMEDIUM
- CTO at NCSC Weekly Summary (week ending July 26, 2026): Cl0p PTC Windchill/FlexPLM exploitation (CVE-2026-12569), SonicWall SMA 1000 zero-days (CVE-2026-15409/CVE-2026-15410), and multi-actor state-linked activityHIGH
- Operation Snowball: Autonomous AI-Driven Intrusion Campaign Exploiting Cisco BroadWorks XSP (CVE-2026-20320) Against European TelecomHIGH
- Multiple Vulnerabilities in Google Chrome prior to 156.0.8078.73 (52 CVEs incl. CVE-2026-118306 FileSystem sandbox escape) - HKCERT Alert A26-10-59CRITICAL
- Microsoft Paint Out-of-Bounds Read RCE Vulnerability (CVE-2026-83844)HIGH
- Critical Citrix XenServer Vulnerability (CVE-2026-98432, CVE-2026-102703) Could Let Attackers Take Over Virtualization Hosts Without AuthenticationCRITICAL
- GhostMap: Android ZIP-parsing flaw (libziparchive/libandroidfw mismatch) lets a malicious APK trigger a persistent system_server crash loopMEDIUM
- Objective-See 'Hidden Treasures of Crash Reports': macOS/iOS crash-derived bugs incl. unpatched nesessionmanager format-string DoS (macOS 15 betas) that disables all Network ExtensionsLOW
- Pixel 10 0-click exploit chain: Dolby UDC CVE-2025-54957 plus VPU driver mmap flaw (Project Zero)HIGH
- Citrix NetScaler CVE-2026-3055 Memory Overread (Part 2) via /wsfed/passive?wctx — Session Leak, Exploited in the WildCRITICAL
- AI-Agent-Driven Intrusion Campaign: Captured Attacker Logs Show Claude opus-4.5 and Codex gpt-5.2-codex Used to Breach 14+ Companies (Livewire CVE-2025-54068, CitrixBleed 2 CVE-2025-5777, Squid, Ghostscript, PwnKit, Dirty Pipe)HIGH
- Adobe, Veeam, Juniper Networks Patch Critical Vulnerabilities (Campaign Classic APSB26-162, Connect APSB26-182, Veeam B365 8.6 / B&R 13.1.2, Juniper Session Smart Router JSA112183)CRITICAL
- CVE-2026-9539: libslirp TCP urgent pointer (sosendoob) out-of-bounds heap read and integer underflow host-memory leakMEDIUM
- Anthropic Unreleased AI Model Chains Flaws Into Working Chrome, Safari, Android, Windows and Linux Exploits (CVE-2026-33096, CVE-2026-98432)HIGH
- CitrixBleed 2 (CVE-2025-5777) Exploited by Anubis Ransomware Affiliates Alongside Valid VPN Credentials and RMM Tool AbuseCRITICAL
- OpenBSD 8.0 Released With PF Firewall Hardening and Critical Vulnerability Fixes (incl. IPsec AES-GMAC Kernel Heap Overflow Erratum 003, CVE-2026-31912)MEDIUM
- Unpatched Linux Kernel Flaws (KSMBD Pre-Auth RCE ZDI-CAN-33774 / ZDI-CAN-33549, skb_zerocopy LPE and others) Accidentally Disclosed on Public Mailing ListsCRITICAL
- Operation Escaneo: MexicanMafia (PanchoVilla) Intrusion Campaign Against Mexican Government Agencies and Latin American Financial InstitutionsHIGH
- INC Ransomware: Evolution into a Top-Tier RaaS Operation (Rust Windows/ESXi payloads, edge-device exploitation CVE-2023-3519/CVE-2023-48788/CVE-2024-57727/CVE-2025-5777, modified Veeam credential dumper)HIGH
- Rapid7 Q3 2026 Threat Landscape: High-Severity Flaws Exploited in 3 Days as The Gentlemen and Qilin Ransomware DominateHIGH
- Microsoft Patches Two Dozen High-Severity RCE Flaws in Office (Word, Excel, Outlook, PowerPoint, SharePoint) - October 2026HIGH
- CL-UNK-1211: AI-Powered Espionage Campaign Targets Government Linux Infrastructure (SysGoRAT, CVE-2025-55182, CVE-2021-4034)HIGH
- Windows BitLocker Vulnerabilities: Security Feature Bypass and Privilege Elevation (CVE-2026-85920, CVE-2026-88070, CVE-2026-83500)HIGH
- Progress MarkLogic Server: 31 Vulnerabilities (CVE-2026-9191, CVE-2026-85947 through CVE-2026-85976) Enabling Privilege Escalation, Code Execution and Authentication BypassCRITICAL
- IBM Verify Access / Verify Identity Access: 22 Flaws Patched Incl. Unauthenticated RCE via Deserialization (CVE-2026-78401, CVE-2026-78406)CRITICAL
Mitigations
- Implementation / Input Validation: 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…
- Architecture and Design / Language Selection: Use a language that provides appropriate memory abstractions.
Source: MITRE CWE, potential mitigations.
Detection methods (MITRE CWE)
- Fuzzing (effectiveness: High): Fuzz testing (fuzzing) is a powerful technique for generating large numbers of diverse inputs - either randomly or algorithmically - and dynamically invoking the code with those inputs. Even with random inputs, it is often capable of generating unexpected results such as crashes, memory corruption, or resource consumption. Fuzzing effectively produces repeatable test cases that clearly indicate bugs, which helps developers to diagnose the issues.
- Automated Static Analysis (effectiveness: High): Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
- Automated Dynamic Analysis (effectiveness: Moderate): Use tools that are integrated during compilation to insert runtime error-checking mechanisms related to memory safety errors, such as AddressSanitizer (ASan) for C/C++ [REF-1518].
Source: MITRE CWE, detection methods. Threadlinqs detection rules for the threats above are Blue tier and higher.