Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-476 (空指针解引用) — Vulnerability Class 1557

1557 vulnerabilities classified as CWE-476 (空指针解引用). AI Chinese analysis included.

CWE-476 represents a critical memory management weakness where software attempts to access memory through a pointer that holds a NULL value instead of a valid address. This error typically occurs when a function fails to allocate memory or validate input, yet the code proceeds to dereference the resulting null reference without checking its status. Attackers exploit this vulnerability by triggering the null condition, often causing the application to crash and resulting in a denial of service. In more complex scenarios, if the NULL pointer is manipulated to point to executable code, it may lead to arbitrary code execution or privilege escalation. To prevent this, developers must rigorously validate all pointers before use, ensuring they are not NULL. Implementing defensive programming practices, such as using assertions during development and comprehensive error handling in production, helps mitigate the risk of dereferencing invalid memory addresses.

MITRE CWE Description
The product dereferences a pointer that it expects to be valid but is NULL.
Common Consequences (2)
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.
Mitigations (5)
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.
Effectiveness: Moderate
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.
Examples (2)
This example takes an IP address from a user, verifies that it is well formed and then looks up the hostname and copies it into a buffer.
void host_lookup(char *user_supplied_addr){ struct hostent *hp; in_addr_t *addr; char hostname[64]; in_addr_t inet_addr(const char *cp); /*routine that ensures user_supplied_addr is in the right format for conversion */ validate_addr_form(user_supplied_addr); addr = inet_addr(user_supplied_addr); hp = gethostbyaddr( addr, sizeof(struct in_addr), AF_INET); strcpy(hostname, hp->h_name); }
Bad · C
In the following code, the programmer assumes that the system always has a property named "cmd" defined. If an attacker can control the program's environment so that "cmd" is not defined, the program throws a NULL pointer exception when it attempts to call the trim() method.
String cmd = System.getProperty("cmd"); cmd = cmd.trim();
Bad · Java
CVE ID Title CVSS Severity Published
CVE-2026-72939 Windows Routing and Remote Access Service (RRAS) Denial of Service Vulnerability — Windows 10 Version 1607 6.5 Medium 2026-09-08
CVE-2026-69744 Windows Kerberos Denial of Service Vulnerability — Windows 11 Version 24H2 7.5 High 2026-09-08
CVE-2026-69587 Windows Internet Key Exchange (IKE) Extension Denial of Service Vulnerability — Windows 11 version 23H2 7.5 High 2026-09-08
CVE-2026-84392 Fortinet FortiOS 异常处理不当漏洞 — FortiOS 2.5 Low 2026-09-08
CVE-2026-82055 Null Pointer Dereference in MongoDB Server 2dsphere Index Key Generation Leads to Denial of Service — MongoDB Server 6.5 Medium 2026-09-08
CVE-2026-18453 389-ds-base: 389-ds-base: pre-authentication null pointer dereference via paged results and use_one_backend control in op_shared_search — Red Hat Directory Server 11.5 E4S for RHEL 8 7.5 High 2026-09-07
CVE-2026-86097 PX4 Autopilot through 1.17.0 Null Pointer Dereference via param select — PX4-Autopilot 6.5 Medium 2026-09-04
CVE-2026-80118 PassMark PerformanceTest, BurnInTest, and OSForensics Kernel Null Pointer Dereference via DirectIo64.sys IOCTL — PerformanceTest 7.1 High 2026-09-04
CVE-2026-17273 IBM i is Affected By Multiple Vulnerabilities in Debug Server — i 6.5 Medium 2026-09-04
CVE-2026-85150 Gstreamer1-plugins-base: gstreamer: null/invalid-pointer dereference in gst_rtsp_message_parse_auth_credentials() when parsing a crafted digest authorization/www-authenticate header — Red Hat Enterprise Linux 10 7.5 High 2026-09-03
CVE-2026-17539 Hitachi RTU500 异常处理不当漏洞 — RTU500 series CMU firmware 5.9 Medium 2026-09-03
CVE-2026-78222 NGINX ngx_http_js_module vulnerability — NGINX JavaScript 7.5 High 2026-09-02
CVE-2026-82926 SAMSUNG mTower 异常处理不当漏洞 — mTower 5.5 Medium 2026-09-01
CVE-2026-82821 FLVMeta AMF Object Parsing amf.c amf_object_get null pointer dereference — FLVMeta 4.3 Medium 2026-08-31
CVE-2026-82803 armink struct2json JSON Deserialization s2jdef.h S2J_STRUCT_GET_string_ELEMENT null pointer dereference — struct2json 5.3 Medium 2026-08-31
CVE-2026-82588 Open5GS Transfer Endpoint namf-handler.c null pointer dereference — Open5GS 4.3 Medium 2026-08-30
CVE-2026-76650 Pre-Authentication NULL Pointer Dereference in UPnP SOAP State Variable Query Processing in TP-Link TL-WR841N — TL-WR841N v14 5.3 Medium 2026-08-28
CVE-2026-76649 Pre-Authentication NULL Pointer Dereference in UPnP SOAP Action Request Processing in TP-Link TL-WR841N — TL-WR841N v14 5.3 Medium 2026-08-28
CVE-2026-81490 MongoDB Connector for BI Improper Error Handling During Schema Sampling May Cause Loss of SQL Service — BI Connector 7.7 High 2026-08-28
CVE-2026-75125 PLANET GS-4210-16P2S V3 Null Pointer Dereference DoS via dispatcher.cgi web_poe_alive_rmtip_post — PLANET GS-4210-16P2S V3 4.9 Medium 2026-08-28
CVE-2026-54084 Wazuh agent enrollment NULL pointer dereference via malformed manager response — wazuh 5.3 Medium 2026-08-27
CVE-2026-48429 Substance3D - Designer | NULL Pointer Dereference (CWE-476) — Adobe Substance 3D Designer 5.5 Medium 2026-08-25
CVE-2026-24263 NVIDIA DGX Spark 异常处理不当漏洞 — DGX Spark 8.2 High 2026-08-25
CVE-2026-13217 NULL-pointer dereference in Zephyr OCPP CALLRESULT parsing via unchecked strtok_r/atoi — zephyr 5.9 Medium 2026-08-25
CVE-2026-63076 Invalid Pointer Dereference in CMP Server via Crafted protectionAlg — OpenSSL - - 2026-08-25
CVE-2026-14457 RPK Server Signature Algorithm Selection Can Dereference a Missing Certificate — OpenSSL - - 2026-08-25
CVE-2026-13213 Bluetooth HAS: NULL-pointer dereference DoS when a bonded peer reconnects before bt_has_register — zephyr 5.3 Medium 2026-08-24
CVE-2026-71922 DrayTek VigorSwitch Multiple Models Pre-Authentication NULL Pointer Dereference via setget.cgi — VigorSwitch G2540xs 7.5 High 2026-08-24
CVE-2026-71920 DrayTek VigorSwitch Multiple Models NULL Pointer Dereference via formlogout — VigorSwitch G2540xs 4.9 Medium 2026-08-24
CVE-2026-78148 ggml-org llama.cpp ggml-RPC Server ggml-rpc.cpp graph_compute null pointer dereference — llama.cpp 5.3 Medium 2026-08-23

Vulnerabilities classified as CWE-476 (空指针解引用) represent 1557 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.