Untrusted Pointer Dereference (CWE-822)
CWE-822 describes a product that takes a value from an untrusted source, converts it to a pointer and dereferences it. Forms include an untrusted value invoked as a function call and pointers crossing from user space into OS kernels or drivers. MITRE places it under CWE-119.
Updated
About CWE-822
A read through the pointer can disclose sensitive memory, and an invalid address can crash the product. A write or function call through it may modify memory or execute code.
- MITRE name
- Untrusted Pointer Dereference
- Abstraction
- Base: abstract, but detailed enough to infer detection and prevention methods
- Status
- Incomplete
Mitigations
- Use a language that does not allow out-of-bounds memory operations, noting that native code interfaces may still be exposed (from parent CWE-119).
- Enable compiler buffer overflow detection mechanisms as defense in depth (from parent CWE-119).
- Use ASLR and position-independent executables to make memory addresses less predictable (from parent CWE-119).
Detection
Automated static analysis (SAST) is rated highly effective, and runtime checkers such as AddressSanitizer have moderate effectiveness when combined with crafted inputs.
CWE-822 in the KEV Catalog
as of 2026-11-23- 5 CISA KEV entries name Untrusted Pointer Dereference (CWE-822) in their CVE record, tied for 49th among the 196 weaknesses named in the catalog.
- CISA added 3 CWE-822 entries to the KEV catalog in 2024, 1 in 2025, and 0 so far in 2026.
- Microsoft has the most CWE-822 entries in the CISA KEV catalog (5).
Related Attack Patterns
1 CAPEC patternsCAPEC-129Pointer ManipulationMeta · Severity Medium
Loading…
CWE-822 Vulnerabilities
5 CVEs| CVE | Title | Vendor | CVSS | EPSS | KEV | Published |
|---|---|---|---|---|---|---|
| CVE-2025-24990KEV Windows Agere Modem Driver Elevation of Privilege Vulnerability | Windows Agere Modem Driver Elevation of Privilege Vulnerability | Microsoft | 7.8 | 9.8% | KEV | 2025-10-14 |
| CVE-2024-35250KEV Windows Kernel-Mode Driver Elevation of Privilege Vulnerability | Windows Kernel-Mode Driver Elevation of Privilege Vulnerability | Microsoft | 7.8 | 25.2% | KEV | 2024-06-11 |
| CVE-2024-21338KEV Windows Kernel Elevation of Privilege Vulnerability | Windows Kernel Elevation of Privilege Vulnerability | Microsoft | 7.8 | 62.2% | KEV | 2024-02-13 |
| CVE-2023-29360KEV Microsoft Streaming Service Elevation of Privilege Vulnerability | Microsoft Streaming Service Elevation of Privilege Vulnerability | Microsoft | 8.4 | 21.6% | KEV | 2023-06-13 |
| CVE-2023-36033KEV Windows DWM Core Library Elevation of Privilege Vulnerability | Windows DWM Core Library Elevation of Privilege Vulnerability | Microsoft | 7.8 | 11.0% | KEV | 2023-11-14 |
Frequently Asked Questions
What is CWE-822?→
CWE-822 is untrusted pointer dereference: a value supplied from outside is used as a memory address and then accessed.
Where does CWE-822 typically appear?→
MITRE mentions OS kernels and drivers, where a pointer may enter from user space through an API or system call.
How many exploited vulnerabilities are classified as CWE-822?→
This database lists 5 CVE records mapped to CWE-822 by their CVE Numbering Authority. 5 of them are in the CISA Known Exploited Vulnerabilities catalog, and CISA links 1 to known ransomware campaigns. Examples include CVE-2025-24990, CVE-2024-35250, CVE-2024-21338.
Sources
Weakness definitions summarized from the CWE List, © The MITRE Corporation, used under the CWE Terms of Use. CWE mappings come from each CVE record's CNA. Exploited-in-the-wild data from the CISA KEV catalog (CC0). This site is not affiliated with or endorsed by MITRE or CISA. Attack patterns from CAPEC 3.9, © The MITRE Corporation, used under the CAPEC Terms of Use.