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-101949 Junos OS and Junos OS Evolved: In a scenario with VPN-flowspec and BMP monitoring a specific BGP update causes an rpd crash — Junos OS 7.5 High 2026-10-14
CVE-2026-101961 Junos OS and Junos OS Evolved: A specific BGP packet causes an rpd crash when an ECMP qualifier is used in an import policy — Junos OS 7.5 High 2026-10-14
CVE-2026-102060 Junos OS and Junos OS Evolved: MX Series, ACX Series: An attacker causes a routing daemon crash when multicast lawful intercept is used — Junos OS 6.5 Medium 2026-10-14
CVE-2026-102040 Junos OS and Junos OS Evolved: An attacker crashes the routing daemon when co-routed bidirectional RSVP LSPs are used — Junos OS 6.5 Medium 2026-10-14
CVE-2026-102039 Junos OS and Junos OS Evolved: An attacker causes routing-process denial of service when GMPLS EVPL dynamic transport is used — Junos OS 6.5 Medium 2026-10-14
CVE-2026-102029 Junos OS and Junos OS Evolved: An attacker causes routing-daemon denial of service when an MSDP or PIM policy uses AS-path expansion — Junos OS 7.5 High 2026-10-14
CVE-2026-102028 Junos OS and Junos OS Evolved: An attacker causes an rpd crash when VPLS auto-discovery is used — Junos OS 7.5 High 2026-10-14
CVE-2026-102021 Junos OS and Junos OS Evolved: Malformed RSVP packet causes rpd crash when MPLS-TE error processing is enabled — Junos OS 6.5 Medium 2026-10-14
CVE-2026-102018 Junos OS and Junos OS Evolved: Malformed PIM Bidir DF-Election messages cause routing service disruption when bidirectional PIM is enabled — Junos OS 6.5 Medium 2026-10-14
CVE-2026-102013 Junos OS and Junos OS Evolved: An attacker causes na-grpcd to crash when the InitialSync service is used — Junos OS 4.4 Medium 2026-10-14
CVE-2026-101941 Junos OS and Junos OS Evolved: An attacker causes an rpd crash when routing-policy resolution-map processing and policy event tracing are enabled — Junos OS 7.5 High 2026-10-14
CVE-2026-101940 Junos OS and Junos OS Evolved: An attacker causes a routing-daemon crash when BGP ISO-VPN egress protection is enabled — Junos OS 7.5 High 2026-10-14
CVE-2026-101939 Junos OS and Junos OS Evolved: A routing-policy table reference causes routing-daemon denial of service when source-based forwarding is used — Junos OS 7.5 High 2026-10-14
CVE-2026-101988 Junos OS and Junos OS Evolved: An unauthenticated adjacent attacker causes an rpd crash when LDP is enabled — Junos OS 6.5 Medium 2026-10-14
CVE-2026-102086 Junos OS: SRX Series: Multiple DNS queries processed by SecIntel and DGA in the same session cause a flowd crash — Junos OS 5.9 Medium 2026-10-14
CVE-2026-101948 Junos OS and Junos OS Evolved: A specific BGP FlowSpec update causes an rpd crash when BGP FlowSpec import policy is used — Junos OS 7.5 High 2026-10-14
CVE-2026-101977 Junos OS and Junos OS Evolved: A specific BGP packet causes an rpd crash when ephemeral configuration is used — Junos OS 7.5 High 2026-10-14
CVE-2026-101973 Junos OS: Malformed packet causes pkid denial of service when certificate re-enrollment is used — Junos OS 7.5 High 2026-10-14
CVE-2026-110659 ELFIO through 3.12 NULL Pointer Dereference via relocation_section_accessor get_entry — ELFIO 5.5 Medium 2026-10-14
CVE-2026-110600 xlsxio through 0.2.37 NULL Pointer Dereference via Worksheet Relationship Without Id — xlsxio 5.5 Medium 2026-10-14
CVE-2026-77207 Null Pointer Dereference in PKCS#7 bundle with no certificates — libreswan 7.5 High 2026-10-13
CVE-2026-77206 IKEv2 pre-authentication Null Pointer Dereference in EAP code — libreswan 7.5 High 2026-10-13
CVE-2026-103824 Substance3D - Designer | NULL Pointer Dereference (CWE-476) — Substance 3D Designer 5.5 Medium 2026-10-13
CVE-2026-103826 Substance3D - Designer | NULL Pointer Dereference (CWE-476) — Substance 3D Designer 5.5 Medium 2026-10-13
CVE-2026-103828 Substance3D - Designer | NULL Pointer Dereference (CWE-476) — Substance 3D Designer 5.5 Medium 2026-10-13
CVE-2026-103829 Substance3D - Designer | NULL Pointer Dereference (CWE-476) — Substance 3D Designer 5.5 Medium 2026-10-13
CVE-2026-95640 Photoshop Desktop | NULL Pointer Dereference (CWE-476) — Photoshop 5.5 Medium 2026-10-13
CVE-2026-105896 Photoshop Desktop | NULL Pointer Dereference (CWE-476) — Photoshop 5.5 Medium 2026-10-13
CVE-2026-103852 Substance3D - Stager | NULL Pointer Dereference (CWE-476) — Adobe Substance 3D Stager 5.5 Medium 2026-10-13
CVE-2026-103855 Dimension | NULL Pointer Dereference (CWE-476) — Adobe Dimension 5.5 Medium 2026-10-13

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