What is CWE-822?
The product obtains a value from an untrusted source, converts this value to a pointer, and dereferences the resulting pointer.
An attacker can supply a pointer for memory locations that the product is not expecting. If the pointer is dereferenced for a write operation, the attack might allow modification of critical state variables, cause a crash, or execute code. If the dereferencing operation is for a read, then the attack might allow reading of sensitive data, cause a crash, or set a variable to an unexpected value (since the value will be read from an unexpected memory location). There are several variants of this weakness, including but not necessarily limited to: The untrusted value is directly invoked as a function call. In OS kernels or drivers where there is a boundary between "userland" and privileged memory spaces, an untrusted pointer might enter through an API or system call (see CWE-781 for one such example). Inadvertently accepting the value from an untrusted control sphere when it did not have to be accepted as input at all. This might occur when the code was originally developed to be run by a single user in a non-networked environment, and the code is then ported to or otherwise exposed to a networked environment.
CWE-822 is a base-level weakness in MITRE’s Common Weakness Enumeration. Applicable platforms: Language: Memory-Unsafe; Language: C; Language: C++.
Source: MITRE CWE (CWE-822 definition, reproduced verbatim). Counts and linkage below are Threadlinqs data.
Consequences
- Confidentiality — Read Memory. If the untrusted pointer is used in a read operation, an attacker might be able to read sensitive portions of memory.
- Availability — DoS: Crash, Exit, or Restart. If the untrusted pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" or larger than expected by a read or write operation, the application may terminate unexpectedly.
- Integrity, Confidentiality, Availability — Execute Unauthorized Code or Commands, Modify Memory. If the untrusted pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.
Source: MITRE CWE, common consequences.
How CWE-822 is exploited in the wild
Threadlinqs maps 24 CVEs to CWE-822, published between 2023-01-10 and 2026-11-10. 2 are listed in CISA’s Known Exploited Vulnerabilities catalog, the authoritative record of exploitation in the wild, and 1 is tied to ransomware campaigns. By CVSS v3 severity the set splits into 1 critical, 17 high, 3 medium. The highest EPSS score in the set is 65.4% (CVE-2023-21768), the modelled probability of exploitation in the next 30 days. 27 tracked threats reference CWE-822 directly or through a CVE it covers; the most recent is “Microsoft Patch Tuesday November 2026: ~1,095 vulnerabilities, 64 critical, one exploited Outlook NTLM-leak spoofing zero-day (CVE-2026-124194)” (2026-11-11). Affected products concentrate in Microsoft (19), AMD (1), Autodesk (1), among 5 vendors in total.
Vulnerabilities (CVEs)
All 24 CVEs mapped to CWE-822, CISA KEV first, then by CVSS score.
- CVE-2023-29360 — CISA KEV · CVSS 8.4 high · EPSS 21.6% · published 2023-06-13
- CVE-2024-21338 — CISA KEV · CVSS 7.8 high · EPSS 59.8% · published 2024-02-13
- CVE-2026-70300 — CVSS 9.8 critical · EPSS 1.1% · published 2026-10-13
- CVE-2026-50382 — CVSS 8.8 high · EPSS 0.3% · published 2026-07-14
- CVE-2026-80083 — CVSS 8.8 high · EPSS 0.3% · published 2026-09-08
- CVE-2026-40367 — CVSS 8.4 high · EPSS 0.4% · published 2026-05-12
- CVE-2026-26113 — CVSS 8.4 high · EPSS 0.4% · published 2026-03-10
- CVE-2026-58596 — CVSS 8.3 high · EPSS 0.4% · published 2026-07-12
- CVE-2026-113753 — CVSS 8.2 high · published 2026-11-10
- CVE-2026-70111 — CVSS 8.1 high · EPSS 0.8% · published 2026-10-13
- CVE-2026-78444 — CVSS 8.1 high · EPSS 0.7% · published 2026-09-08
- CVE-2023-21768 — CVSS 7.8 high · EPSS 65.4% · published 2023-01-10
- CVE-2026-64910 — CVSS 7.8 high · EPSS 0.4% · published 2026-08-11
- CVE-2026-112811 — CVSS 7.8 high · EPSS 0.3% · published 2026-11-10
- CVE-2026-95983 — CVSS 7.8 high · EPSS 0.3% · published 2026-11-10
- CVE-2026-40369 — CVSS 7.8 high · EPSS 0.3% · published 2026-05-12
- CVE-2026-62737 — CVSS 7.8 high · EPSS 0.3% · published 2026-08-11
- CVE-2026-7406 — CVSS 7.8 high · EPSS 0.1% · published 2026-08-06
- CVE-2026-105559 — CVSS 6.5 medium · published 2026-11-10
- CVE-2026-19595 — CVSS 6.1 medium · EPSS 0.1% · published 2026-10-19
- CVE-2026-23670 — CVSS 5.7 medium · EPSS 0.2% · published 2026-04-14
- CVE-2026-50175 — EPSS 0.1% · published 2026-11-10
- CVE-2026-19023 — EPSS 0.1% · published 2026-08-05
- CVE-2025-62627 — EPSS 0.0% · published 2026-05-13
Affected vendors
- Microsoft — 19 CVEs
- AMD — 1 CVE
- Autodesk — 1 CVE
- The HDF Group — 1 CVE
- zephyrproject — 1 CVE
Threat activity
27 tracked threats cite CWE-822; the 25 most recent are listed.
- Microsoft Patch Tuesday November 2026: ~1,095 vulnerabilities, 64 critical, one exploited Outlook NTLM-leak spoofing zero-day (CVE-2026-124194)CRITICAL
- Intel Slim Bootloader Multiple Vulnerabilities (INTEL-SA-01526) - CVE-2026-50175, CVE-2026-35500, CVE-2026-41221, CVE-2026-41224, CVE-2026-44624, CVE-2026-28746HIGH
- Windows Active Directory RCE Vulnerability (CVE-2026-119948) Allows Code Execution Over a NetworkHIGH
- Microsoft November 2026 Patch Tuesday: Outlook Zero-Day CVE-2026-124194 Exploited to Steal NTLM Hashes (1,235 Flaws Fixed)HIGH
- Microsoft November 2026 Patch Release: 1,093 Vulnerabilities Fixed, Outlook Spoofing Zero-Day CVE-2026-124194 Actively ExploitedCRITICAL
- Public PoC for Windows Ancillary Function Driver for WinSock (afd.sys) Privilege Escalation - CVE-2023-21768HIGH
- Microsoft Patches Two Dozen High-Severity RCE Flaws in Office (Word, Excel, Outlook, PowerPoint, SharePoint) - October 2026HIGH
- Windows Server DFS Zero-Day Denial of Service via Malformed DFS_REFERRAL_V3 (CVE-2026-70111)HIGH
- October 2026 Microsoft Patch Tuesday: Exploited Windows Shell MotW Bypass (CVE-2026-96951), 1,417 Vulnerabilities PatchedCRITICAL
- September 2026 Microsoft Patch Tuesday — Record 966+ Vulnerabilities with Two Actively Exploited Zero-Days (CVE-2026-81963, CVE-2026-85880) and Multiple Critical Wormable RCEsCRITICAL
- Microsoft September 2026 Patch Tuesday — 999 CVEs, 3 actively exploited zero-days (CVE-2026-85880, CVE-2026-81963, CVE-2026-85046)CRITICAL
- AMD Ionic Cloud Driver Vulnerabilities Affecting VMware ESX (CVE-2025-62623, CVE-2025-62624, CVE-2025-62627)HIGH
- "Download More RAM" Attack Bypasses Windows VBS and Disables Defender Through Memory Aliasing (CVE-2026-23670)MEDIUM
- Microsoft August 2026 Patch Tuesday: 400 Flaws Fixed, Including Lazarus-Exploited Zero-Day CVE-2026-68820 (AFD.sys) and Two Publicly Disclosed Zero-Days (CVE-2026-62832 "LegacyHive", CVE-2026-72971)CRITICAL
- Multi-Vendor Critical Patch Roundup: Firefox 152.0.6, Chrome 150, Adobe ColdFusion/Commerce/AEM (APSB26-68/73/74), and VMware Avi Load Balancer (VMSA-2026-0005)CRITICAL
- Microsoft July 2026 Patch Tuesday: 570 Flaws Fixed, 3 Zero-Days Including AD FS and SharePoint Privilege EscalationCRITICAL
- Microsoft July 2026 Patch Tuesday: 570 Vulnerabilities Fixed, Including 2 Actively Exploited Zero-Days (CVE-2026-56164, CVE-2026-56155)CRITICAL
- Microsoft July 2026 Patch Tuesday: 569 CVEs, Two Actively Exploited Zero-Days (CVE-2026-56155 AD FS EoP, CVE-2026-56164 SharePoint EoP)CRITICAL
- Pegasus Spyware Used Against Former MEP Stelios Kouloglou While Serving on PEGA CommitteeCRITICAL
- European Parliament Member Investigating Pegasus Spyware Hacked With Pegasus (PWNYOURHOME Zero-Click Exploit Chain)CRITICAL
- CVE-2023-36802 (Windows Streaming Service Proxy mskssrv.sys) — Full Exploitation Chain Without NtQuery*/PreviousMode ShortcutsHIGH
- GentleKiller BYOVD EDR-Killing Framework Operated by The Gentlemen RaaS (hastalamuerte / Qilin lineage)HIGH
- Windows Kernel CVE-2026-40369 — NtQuerySystemInformation ProbeForWrite Bypass Enables Arbitrary Kernel Memory Increment → SYSTEM LPE from Browser Sandboxes (Ori Nimron)CRITICAL
- Microsoft May 2026 Patch Tuesday — 137 CVEs, 31 Critical (16 RCE) Including CVE-2026-41089 Pre-Auth Netlogon Stack Overflow on Domain ControllersHIGH
- Microsoft Office Preview Pane Remote Code Execution — CVE-2026-26110 (Type Confusion) & CVE-2026-26113 (Untrusted Pointer Dereference)CRITICAL
Detection methods (MITRE CWE)
- 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.