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-86128 Fireware OS NULL Pointer Dereference in NetFlow IPv6 Traffic Processing Allows Remote Denial of Service — Fireware OS 8.2 High 2026-09-29
CVE-2026-102724 Libical驱逐MSRP属性空指针解引用漏洞 — NetX Duo 6.0 Medium 2026-09-29
CVE-2026-102723 MSRP属性表耗尽致空指针解引用漏洞 — NetX Duo 6.0 Medium 2026-09-29
CVE-2026-102808 PX4 Autopilot through 1.17.0 NULL Pointer Dereference via sd_stress — PX4-Autopilot 6.5 Medium 2026-09-29
CVE-2026-102623 Kubevirt: kubevirt: virt-controller nil-pointer dereference via malformed ephemeral volume — Red Hat OpenShift Virtualization 4 6.5 Medium 2026-09-29
CVE-2026-75805 NULL Pointer Dereference in CMP Client Revocation Response Handling — OpenSSL - - 2026-09-29
CVE-2026-95390 NULL Pointer Dereference in Wireshark — Wireshark 5.5 Medium 2026-09-29
CVE-2026-18746 NULL pointer dereference in Zephyr LwM2M client when the CoAP Block1 context pool is exhausted — zephyr 5.9 Medium 2026-09-28
CVE-2026-100895 Trusted Domain Project OpenARC libopenarc arc-canon.c arc_parse_canon_t null pointer dereference — OpenARC 5.3 Medium 2026-09-28
CVE-2026-100890 Trusted Domain Project OpenDMARC SPF Parser opendmarc_spf.c opendmarc_spf_ipv6_explode null pointer dereference — OpenDMARC 5.3 Medium 2026-09-28
CVE-2026-19888 NULL pointer dereference in SCRAM client-final-message parsing in PgBouncer — PgBouncer 7.5 High 2026-09-23
CVE-2026-42801 Deference after null check in as_rrc — Crane,Falcon 7.4 High 2026-09-23
CVE-2026-84396 InDesign Desktop | NULL Pointer Dereference (CWE-476) — InDesign Desktop 5.5 Medium 2026-09-22
CVE-2026-76192 InDesign Desktop | NULL Pointer Dereference (CWE-476) — InDesign Desktop 5.5 Medium 2026-09-22
CVE-2026-86056 Notepad++: Null pointer dereference in NPPM_SAVESESSION message handler causes crash (DoS) — notepad-plus-plus 5.5 Medium 2026-09-22
CVE-2026-48521 Envoy: HTTP/3 connection pool selection null-derefs in ProdClusterManagerFactory::allocateConnPool when transport_socket_options is null — envoy 5.9 Medium 2026-09-21
CVE-2026-57225 Suricata datasets: NULL pointer dereference in JSON/NDJSON dataset loading — suricata 3.3 Low 2026-09-18
CVE-2026-93689 WinFsp through 2.2.26215 NULL Pointer Dereference via Fast I/O — winfsp 5.5 Medium 2026-09-18
CVE-2026-93588 ImageMagick before 7.1.2-31 Null Pointer Dereference via PNM — ImageMagick 3.1 Low 2026-09-18
CVE-2026-93312 Freedesktop Poppler JBIG2Stream.cc rewind null pointer dereference — Poppler 4.3 Medium 2026-09-18
CVE-2026-76781 Libxml2: libxml2: null pointer dereference parsing nextcatalog without catalog attribute — Red Hat Hardened Images 5.5 Medium 2026-09-17
CVE-2026-92417 Open5GS PFCP types.c ogs_pfcp_parse_volume_measurement null pointer dereference — Open5GS 6.5 Medium 2026-09-16
CVE-2026-92413 Artifex MuPDF PDF Xref Loading pdf-stream.c pdf_open_filter null pointer dereference — MuPDF 4.3 Medium 2026-09-16
CVE-2026-92626 Control iD iDSecure Unauthenticated Denial of Service — iDSecure 7.5 High 2026-09-16
CVE-2026-77692 Unauthenticated remote crash of named via a single DoH SIG(0) request — BIND 9 7.5 High 2026-09-16
CVE-2026-76868 Netcore NR255-V 1.5.130703 NULL Pointer Dereference in route_policy_add.cgi via Missing exit_port — NR255-V 4.9 Medium 2026-09-15
CVE-2026-76865 Netcore NR255-V 1.5.130703 NULL Pointer Dereference via Unchecked atoi() in QoS Setter Handlers — NR255-V 4.9 Medium 2026-09-15
CVE-2026-91954 FreeRDP before 3.31.0 NULL Pointer Dereference via NSCodec — FreeRDP 6.5 Medium 2026-09-15
CVE-2026-91782 GNU Binutils Dynamic Relocation Allocation elfxx-x86.c elf_x86_allocate_dynrelocs null pointer dereference — Binutils 3.3 Low 2026-09-15
CVE-2026-91781 GNU Binutils ELF Section elf64-x86-64.c elf_x86_64_common_section_index null pointer dereference — Binutils 3.3 Low 2026-09-15

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