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-96953 Windows Universal Disk Format File System Driver (UDFS) Remote Code Execution Vulnerability — Windows 10 Version 1607 7.8 High 2026-10-13
CVE-2026-88079 Windows MIDI Service Module Elevation of Privileges Vulnerability — Windows 11 Version 24H2 7.0 High 2026-10-13
CVE-2026-88076 Windows Installer Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.0 High 2026-10-13
CVE-2026-83665 Windows DHCP Server Denial of Service Vulnerability — Windows 10 Version 1607 7.5 High 2026-10-13
CVE-2026-83636 Windows Hyper-V Denial of Service Vulnerability — Windows 10 Version 21H2 6.5 Medium 2026-10-13
CVE-2026-85859 Windows Message Queuing Queue Manager Denial of Service Vulnerability — Windows 10 Version 1607 6.5 Medium 2026-10-13
CVE-2026-84017 Windows Routing and Remote Access Service (RRAS) Denial of Service Vulnerability — Windows 10 Version 1607 7.5 High 2026-10-13
CVE-2026-70248 Windows Hyper-V Denial of Service Vulnerability — Windows 10 Version 1607 6.5 Medium 2026-10-13
CVE-2026-83648 Windows Active Directory Domain Services Denial of Service Vulnerability — Windows 10 Version 21H2 6.5 Medium 2026-10-13
CVE-2026-83571 Windows Audio Service Information Disclosure Vulnerability — Windows 10 Version 1607 5.5 Medium 2026-10-13
CVE-2026-69978 Microsoft Windows VMSwitch Denial of Service Vulnerability — Windows 10 Version 1809 5.6 Medium 2026-10-13
CVE-2026-69795 Windows Clipboard Server Elevation of Privilege Vulnerability — Windows 10 Version 1809 7.0 High 2026-10-13
CVE-2026-70566 Windows Schannel Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-10-13
CVE-2026-104343 Adobe Framemaker | NULL Pointer Dereference (CWE-476) — Adobe FrameMaker 2026 5.5 Medium 2026-10-13
CVE-2026-104004 Collection validators using collation-accepting expressions can crash MongoDB Server on insert — MongoDB Server 6.5 Medium 2026-10-13
CVE-2026-109967 yt-dlp-web-ui through 4.0.0 NULL Pointer Dereference DoS via Service.Formats — yt-dlp-web-ui 7.5 High 2026-10-13
CVE-2026-109942 FreeRDP 2.3.0 before 3.32.0 NULL Pointer Dereference via RD Gateway Close Channel Packet — FreeRDP 6.5 Medium 2026-10-13
CVE-2026-109939 FreeRDP 3.27.1 before 3.32.0 NULL Pointer Dereference via Cache Bitmap V3 Order — FreeRDP 6.5 Medium 2026-10-13
CVE-2026-109679 FreeRDP 3.0.0-beta4 before 3.32.0 NULL Pointer Crash via ARM Response — FreeRDP 5.3 Medium 2026-10-13
CVE-2026-109107 Wavlink WL-WN592AX6 upload.cgi main null pointer dereference — WL-WN592AX6 6.5 Medium 2026-10-13
CVE-2026-109280 ImageMagick 7.1.0-20 before 7.1.2-32 Use After Free via -fx Option — ImageMagick 2.5 Low 2026-10-12
CVE-2026-109272 ImageMagick 7.1.1-31 before 7.1.2-32 Null Pointer Dereference in PostScript Decoder — ImageMagick 3.7 Low 2026-10-12
CVE-2026-109258 ImageMagick 7.1.0-20 before 7.1.2-32 Invalid Memory Free in FX Operation — ImageMagick 2.5 Low 2026-10-12
CVE-2026-109252 FreeRDP from 3.9.0 before 3.32.0 RDPEAR NULL Pointer Dereference via KERB_RPC_INTERNAL_NAME — FreeRDP 5.3 Medium 2026-10-12
CVE-2026-109241 FreeRDP before 3.32.0 NULL Dereference in Video Redirection Channel — FreeRDP 3.1 Low 2026-10-12
CVE-2026-19737 NULL pointer dereference in the ESP32 I2S driver when triggering an unsupported direction — zephyr 5.5 Medium 2026-10-11
CVE-2026-108093 Gimp: gimp: denial of service via null pointer dereference in xcf simulation parasite loading — Red Hat Enterprise Linux 10 5.5 Medium 2026-10-09
CVE-2026-104114 NULL pointer dereference in illumos nwamd door handler allows local users to crash the daemon — illumos-gate 5.4 Medium 2026-10-09
CVE-2026-108063 Libhangul: null pointer dereference in hanja_new() when looking up a malformed hanja dictionary entry — Red Hat Enterprise Linux 10 5.5 Medium 2026-10-09
CVE-2026-107655 Cups: null pointer dereference via embedded job ticket comments allows remote denial of service — Red Hat Hardened Images 4.0 Medium 2026-10-09

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