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 43 CVEs to CWE-476, published between 2019-05-15 and 2026-11-02. 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 18 high, 17 medium. The highest EPSS score in the set is 4.8% (CVE-2026-21525), the modelled probability of exploitation in the next 30 days. 24 tracked threats reference CWE-476 directly or through a CVE it covers; the most recent is “Multiple Vulnerabilities in Fortigate NGFW Before V7.4.1 on Siemens RUGGEDCOM APE1808 Devices (SSA-366067)” (2026-11-05). Affected products concentrate in Fortinet (6), GNU (3), Miniupnp Project (3), among 25 vendors in total.
Vulnerabilities (CVEs)
Showing 40 of 43 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-24263 — CVSS 8.2 high · EPSS 0.1% · published 2026-08-25
- 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-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-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-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-90829 — CVSS 5.3 medium · EPSS 0.1% · published 2026-09-14
- CVE-2026-90830 — CVSS 5.3 medium · EPSS 0.1% · published 2026-09-14
- CVE-2026-76927 — CVSS 4.7 medium · EPSS 0.1% · published 2026-08-19
- CVE-2026-10656 — CVSS 4.6 medium · EPSS 0.1% · published 2026-07-05
- CVE-2026-82588 — CVSS 4.3 medium · EPSS 0.3% · published 2026-08-30
- CVE-2025-31115 — EPSS 0.6% · published 2025-04-03
- CVE-2026-86134 — EPSS 0.4% · published 2026-09-30
- CVE-2026-22899 — EPSS 0.3% · published 2026-06-10
- CVE-2025-66281 — EPSS 0.3% · published 2026-06-10
- CVE-2026-115403 — EPSS 0.3% · published 2026-11-02
Affected vendors
- Fortinet — 6 CVEs
- GNU — 3 CVEs
- Miniupnp Project — 3 CVEs
- Wireshark Foundation — 3 CVEs
- zephyrproject — 3 CVEs
- Apache Software Foundation — 2 CVEs
- Microsoft — 2 CVEs
- OpenSSL — 2 CVEs
- QNAP Systems Inc. — 2 CVEs
- The HDF Group — 2 CVEs
- Adobe — 1 CVE
- Cisco — 1 CVE
Threat activity
24 tracked threats cite CWE-476:
- 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
- Six AirDrop and Quick Share Proximity File-Transfer Vulnerabilities (Apple, Google, Samsung) — 'Protocol Prying' ResearchMEDIUM
- XZ Utils Multithreaded Decoder Race Condition (CVE-2025-31115) - B&R & Siemens ICS ImpactHIGH
- QNAP QSA-26-10: Multiple Injection and Memory-Safety Vulnerabilities in QTS, QuTS hero, QuTS cloud, QVP, and File Station (CVE-2025-66273, CVE-2026-26240, and 12 others)HIGH
- Research: ~90% of Leaked Malware Source Code Contains Exploitable Software Weaknesses (Vouvoutsis, Patsakis & Casino, arXiv:2606.05945)
- February 2026 Patch Tuesday: Six Zero-Days Among 59 CVEsCRITICAL
- February 2026 Patch Tuesday: Six Zero-Days Among 59 CVEs — CrowdStrike-Discovered RDP EoP Exploited Since December 2025CRITICAL
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.