What is CWE-476?
The product dereferences a pointer that it expects to be valid but is NULL.
CWE-476 is a base-level weakness in MITRE’s Common Weakness Enumeration, with a MITRE likelihood of exploit of Medium. Applicable platforms: Language: C; Language: C++; Language: Java; Language: C#; Language: Go.
Source: MITRE CWE (CWE-476 definition, reproduced verbatim). Counts and linkage below are Threadlinqs data.
Consequences
- Availability — DoS: Crash, Exit, or Restart. NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.
- Integrity, Confidentiality — Execute Unauthorized Code or Commands, Read Memory, Modify Memory. In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.
Source: MITRE CWE, common consequences.
How CWE-476 is exploited in the wild
Threadlinqs maps 56 CVEs to CWE-476, published between 2009-08-27 and 2026-11-16. 1 is listed in CISA’s Known Exploited Vulnerabilities catalog, the authoritative record of exploitation in the wild. By CVSS v3 severity the set splits into 26 high, 20 medium. The highest EPSS score in the set is 7.1% (CVE-2009-2698), the modelled probability of exploitation in the next 30 days. 31 tracked threats reference CWE-476 directly or through a CVE it covers; the most recent is “Mozilla Firefox 160 Security Update Fixes 99 Vulnerabilities Including 13 Sandbox Escape Flaws (MFSA 2026-125)” (2026-11-17). Affected products concentrate in Fortinet (6), zephyrproject (5), Microsoft (4), among 34 vendors in total.
Vulnerabilities (CVEs)
Showing 40 of 56 CVEs mapped to CWE-476, CISA KEV first, then by CVSS score.
- CVE-2026-21525 — CISA KEV · CVSS 6.2 medium · EPSS 4.8% · published 2026-02-10
- CVE-2026-97767 — CVSS 8.8 high · EPSS 0.6% · published 2026-10-13
- CVE-2026-124873 — CVSS 8.8 high · EPSS 0.3% · published 2026-11-10
- CVE-2026-124886 — CVSS 8.8 high · EPSS 0.3% · published 2026-11-10
- CVE-2026-124942 — CVSS 8.8 high · EPSS 0.3% · published 2026-11-10
- CVE-2026-124896 — CVSS 8.8 high · EPSS 0.1% · published 2026-11-10
- CVE-2026-122194 — CVSS 8.8 high · published 2026-11-10
- CVE-2026-24263 — CVSS 8.2 high · EPSS 0.1% · published 2026-08-25
- CVE-2009-2698 — CVSS 7.8 high · EPSS 7.1% · published 2009-08-27
- CVE-2023-32252 — CVSS 7.5 high · EPSS 4.0% · published 2023-07-24
- CVE-2019-12111 — CVSS 7.5 high · EPSS 3.4% · published 2019-05-15
- CVE-2019-12108 — CVSS 7.5 high · EPSS 2.7% · published 2019-05-15
- CVE-2019-12109 — CVSS 7.5 high · EPSS 2.7% · published 2019-05-15
- CVE-2019-12110 — CVSS 7.5 high · EPSS 2.5% · published 2019-05-15
- CVE-2026-42764 — CVSS 7.5 high · EPSS 0.7% · published 2026-06-09
- CVE-2026-126051 — CVSS 7.5 high · EPSS 0.7% · published 2026-11-11
- CVE-2026-63686 — CVSS 7.5 high · EPSS 0.4% · published 2026-10-01
- CVE-2026-42765 — CVSS 7.5 high · EPSS 0.4% · published 2026-06-09
- CVE-2026-46729 — CVSS 7.5 high · EPSS 0.4% · published 2026-10-01
- CVE-2026-110491 — CVSS 7.5 high · EPSS 0.3% · published 2026-10-22
- CVE-2026-15891 — CVSS 7.5 high · EPSS 0.3% · published 2026-09-13
- CVE-2026-76928 — CVSS 7.5 high · EPSS 0.2% · published 2026-08-19
- CVE-2025-56363 — CVSS 7.5 high · EPSS 0.2% · published 2026-07-14
- CVE-2026-58101 — CVSS 7.5 high · EPSS 0.1% · published 2026-07-13
- CVE-2026-55204 — CVSS 7.5 high · published 2026-06-18
- CVE-2026-96077 — CVSS 7.5 high · published 2026-11-10
- CVE-2023-29180 — CVSS 7.3 high · EPSS 2.8% · published 2024-02-22
- CVE-2023-29179 — CVSS 6.4 medium · EPSS 2.4% · published 2024-02-22
- CVE-2023-42786 — CVSS 6.4 medium · EPSS 0.8% · published 2025-01-14
- CVE-2023-42785 — CVSS 6.4 medium · EPSS 0.7% · published 2025-01-14
- CVE-2023-33307 — CVSS 6.4 medium · EPSS 0.5% · published 2023-06-16
- CVE-2023-33306 — CVSS 6.2 medium · EPSS 0.8% · published 2023-06-16
- CVE-2026-10648 — CVSS 6.2 medium · EPSS 0.1% · published 2026-06-29
- CVE-2026-123875 — CVSS 5.9 medium · EPSS 0.3% · published 2026-11-11
- CVE-2026-20221 — CVSS 5.8 medium · EPSS 0.5% · published 2026-10-21
- CVE-2026-48429 — CVSS 5.5 medium · EPSS 0.2% · published 2026-08-25
- CVE-2026-48985 — CVSS 5.5 medium · published 2026-06-18
- CVE-2026-76922 — CVSS 5.5 medium · published 2026-08-19
- CVE-2026-90485 — CVSS 5.5 medium · published 2026-09-12
- CVE-2026-93672 — CVSS 5.3 medium · EPSS 0.1% · published 2026-11-16
Affected vendors
- Fortinet — 6 CVEs
- zephyrproject — 5 CVEs
- Microsoft — 4 CVEs
- Mozilla — 4 CVEs
- Canonical — 3 CVEs
- Debian — 3 CVEs
- GNU — 3 CVEs
- Linux — 3 CVEs
- Miniupnp Project — 3 CVEs
- Suse — 3 CVEs
- Wireshark Foundation — 3 CVEs
- Apache Software Foundation — 2 CVEs
Threat activity
31 tracked threats cite CWE-476; the 25 most recent are listed.
- Mozilla Firefox 160 Security Update Fixes 99 Vulnerabilities Including 13 Sandbox Escape Flaws (MFSA 2026-125)HIGH
- Cron-Based Persistence on Network Appliances: Evooo1Bot and SSHStalker Linux BotnetsHIGH
- NoisyTCP (CVE-2026-99288): 11-Year-Old Linux Kernel TCP Race Condition Enables Remote Unauthenticated CrashHIGH
- Node.js November 2026 Security Releases Patch 16 Vulnerabilities (HTTP/2 crashes, HTTPS heap/TLS key leak CVE-2026-123864, TLS client-certificate auth bypass)HIGH
- Microsoft Patch Tuesday November 2026: ~1,095 vulnerabilities, 64 critical, one exploited Outlook NTLM-leak spoofing zero-day (CVE-2026-124194)CRITICAL
- CVE-2026-119618: Critical Unauthenticated RCE via Race Condition in Apache HTTP Server mod_http2 assign_headers()CRITICAL
- Microsoft November 2026 Patch Tuesday: Outlook Zero-Day CVE-2026-124194 Exploited to Steal NTLM Hashes (1,235 Flaws Fixed)HIGH
- Multiple Vulnerabilities in Fortigate NGFW Before V7.4.1 on Siemens RUGGEDCOM APE1808 Devices (SSA-366067)CRITICAL
- 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
- CISA adds GitLab CE/EE (CVE-2026-97229) and Cisco ASA/FTD (CVE-2026-76418) flaws to KEV catalogCRITICAL
- Multiple Vulnerabilities Fixed in Cisco Snort 3 (NCSC-2026-0450; CVE-2026-20043, CVE-2026-76524 and 11 others)CRITICAL
- PHP Unpatched RCE CVE-2026-115560 Disclosed Two Days After Emergency PHP2Shell Patches (CVE-2026-109618/CVE-2026-109619)CRITICAL
- Two CVSS 9.0 Linux KSMBD RCE Flaws (ZDI-CAN-33774, ZDI-CAN-33549) Disclosed on Public Mailing Lists Before Kernel FixesCRITICAL
- 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
- Multiple Vulnerabilities in Apache HTTP Server 2.4.0 through 2.4.68 (20 CVEs, fixed in 2.4.69)MEDIUM
- WatchGuard Fireware OS Critical Code Injection Vulnerability in BOVPN over TLS Client (CVE-2026-86131)CRITICAL
- Multiple Vulnerabilities in Fortigate NGFW on RUGGEDCOM APE1808 Devices (SSA-864900) — Including Actively Exploited FortiCloud SSO Bypass (CVE-2025-59718/-59719) and FortiOS Heap Overflow (CVE-2025-25249)CRITICAL
- Multiple Fortinet FortiOS Vulnerabilities (incl. CVE-2024-23113) Affect Siemens RUGGEDCOM APE1808 via Bundled Fortinet NGFW < V7.4.3 (SSA-832273)CRITICAL
- Adobe and Nvidia Patch Dozens of Vulnerabilities Across Multiple Products, Including Two Critical Flaws in Nvidia's NemoClaw AI Agent Stack and a CVSS 10.0 Adobe Campaign Classic ChainCRITICAL
- CVE-2026-54876 — OpenSSL Client-Side Memory Leak in OCSP Response Checking (Denial of Service)HIGH
- CVE-2026-53910: Heap-Based Buffer Overflow in GNU diffutils diff3 (Signed Integer Overflow)MEDIUM
- HollowByte: OpenSSL Pre-Authentication TLS DoS Flaw Bloats Server Memory With 11-Byte PayloadMEDIUM
- Claude Mythos / Project Glasswing: Autonomous AI Vulnerability Discovery Compresses the Find-to-Exploit Timeline (CVE-2026-4747 and the AI-Scale Disclosure Problem)HIGH
- VEXAIoT: Autonomous Multi-Agent LLM Framework Automates End-to-End IoT Vulnerability Discovery and Exploitation (95% Success Rate)MEDIUM
Mitigations
- Implementation: For any pointers that could have been modified or provided from a function that can return NULL, check the pointer for NULL before use. When working with a multithreaded or otherwise asynchronous environment, ensure that proper locking APIs are used to lock before the check, and unlock when it has finished [REF-1484].
- Requirements: Select a programming language that is not susceptible to these issues.
- Implementation: Check the results of all functions that return a value and verify that the value is non-null before acting upon it.
- Architecture and Design: Identify all variables and data stores that receive information from external sources, and apply input validation to make sure that they are only initialized to expected values.
- Implementation: Explicitly initialize all variables and other data stores, either during declaration or just before the first usage.
Source: MITRE CWE, potential mitigations.
Detection methods (MITRE CWE)
- Automated Dynamic Analysis (effectiveness: Moderate): This weakness can be detected using dynamic tools and techniques that interact with the software using large test suites with many diverse inputs, such as fuzz testing (fuzzing), robustness testing, and fault injection. The software's operation may slow down, but it should not become unstable, crash, or generate incorrect results.
- Manual Dynamic Analysis: Identify error conditions that are not likely to occur during normal usage and trigger them. For example, run the program under low memory conditions, run with insufficient privileges or permissions, interrupt a transaction before it is completed, or disable connectivity to basic network services such as DNS. Monitor the software for any unexpected behavior. If you trigger an unhandled exception or similar error that was discovered and handled by the application's environment, it may still…
- 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.