Skip to content
OpenAdvisories

Weakness (CWE)

CWE-476: NULL Pointer Dereference

Base

The product dereferences a pointer that it expects to be valid but is NULL.

How to prevent it (5 mitigations)
  1. 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].

  2. Requirements

    Select a programming language that is not susceptible to these issues.

  3. Implementation

    Check the results of all functions that return a value and verify that the value is non-null before acting upon it.

  4. 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.

  5. Implementation

    Explicitly initialize all variables and other data stores, either during declaration or just before the first usage.

Source: MITRE CWE-476

744 results · Clear filters · Feed

  • High 7.5

    In SetDisplayName of RegInfoContact.cpp, there is a possible denial of service due to a missing null check. This could …

  • High 7.5

    Windows Remote Desktop Denial of Service Vulnerability

    Null pointer dereference in Windows Remote Desktop allows an unauthorized attacker to deny service over a network.

  • High 7.0

    Windows PrintWorkflowUserSvc Elevation of Privilege Vulnerability

    Null pointer dereference in Windows PrintWorkflowUserSvc allows an authorized attacker to elevate privileges locally.

  • High 8.8

    Microsoft Defender Remote Code Execution Vulnerability

    Null pointer dereference in Microsoft Defender allows an unauthorized attacker to execute code over a network.

  • High 7.8

    Windows Installer Elevation of Privilege Vulnerability

    Null pointer dereference in Windows Installer allows an authorized attacker to elevate privileges locally.

  • High 7.8

    Windows NTFS Remote Code Execution Vulnerability

    Null pointer dereference in Windows NTFS allows an unauthorized attacker to execute code locally.

  • High 7.0

    Windows USM Communication Manager Elevation of Privilege Vulnerability

    Null pointer dereference in Windows USM Communication Manager allows an authorized attacker to elevate privileges locally.

  • High 7.0

    Windows Phone Service Elevation of Privilege Vulnerability

    Null pointer dereference in Windows Phone Service allows an authorized attacker to elevate privileges locally.

  • High 7.5

    Windows TCP/IP Denial of Service Vulnerability

    Null pointer dereference in Windows TCP/IP allows an unauthorized attacker to deny service over a network.

  • High 7.5

    Microsoft QUIC Denial of Service Vulnerability

    Null pointer dereference in Microsoft QUIC allows an unauthorized attacker to deny service over a network.

  • High 7.0

    Microsoft Windows SCSI Class System File Elevation of Privilege Vulnerability

    Null pointer dereference in Microsoft Windows SCSI Class System File allows an authorized attacker to elevate privileges locally.

  • High 7.5

    Muhammara: NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key

    Muhammara is a node module with c/cpp bindings to modify PDF with JavaScript for node or electron. Prior to 6.0.5, Muhammara PDFParser::CreateFilterForStream() in src/deps/PDFWriter/PDFParser.cpp dereferences a null PDFInteger pointer when a PDF stream uses t…

  • High 7.5

    NULL pointer dereference in the Zephyr HTTP/2 server when a header block is completed by a CONTINUATION frame

    The HTTP/2 server in subsys/net/lib/http/http_server_http2.c clears the connection's stream binding at the start of every frame. handle_http_frame_header() executed client->current_stream = NULL unconditionally, but a CONTINUATION frame does not open a new st…

  • High 7.5

    In the Exynos NPU driver, improper validation of user input in the ioctl handler can lead to an out-of-bounds write, wh…

  • High 7.5

    MongoDB C Driver Modern GridFS mongoc_gridfs_bucket_download_to_stream() Aborts Application on Malformed GridFS Metadata

    The GridFS file download API in the MongoDB C Driver does not check the result of an internal operation under certain error conditions during file retrieval. This can cause the process to terminate when stream operations continue. A user who can influence fil…

  • High 8.2

    NULL pointer dereference in the BSD raw IPv6 send path when the destination table is full

    In Eclipse ThreadX NetX Duo versions 6.0 through 6.5.2.202603a, built with BSD raw socket and IPv6 support, the IPv6 raw send path uses the destination-table entry it adds without checking that the add succeeded. When the destination table is full and an off-…

  • High 8.7

    NULL pointer dereference in ICMPv6 Packet Too Big processing when the destination table is full

    In Eclipse ThreadX NetX Duo versions 6.4.5.202504 through 6.5.2.202603a, built with IPv6 path MTU discovery, the ICMPv6 Packet Too Big handler uses the destination-table entry it adds without checking that the add succeeded. A sender on the network can fill t…

  • High 7.5

    ESPAsyncWebServer multipart parser has null-pointer write

    ESPAsyncWebServer is an asynchronous HTTP and WebSocket server library for ESP32, ESP8266, RP2040 and RP2350. Prior to version 3.11.2, the multipart parser in `src/WebRequest.cpp` frees `_itemBuffer` and sets it to NULL when `BOUNDARY_OR_DATA` matches the clo…

  • High 7.5

    sniproxy through 0.7.0 NULL Pointer Dereference via resolv_cancel()

    sniproxy through 0.7.0 contains a NULL pointer dereference vulnerability in resolv_cancel() that allows remote unauthenticated attackers to crash the daemon by sending overlong hostnames. Attackers can send a 254 or 255 character TLS SNI name or HTTP Host hea…

  • High 7.5

    Forge: Denial of service in TLS record processing via a record interleaved with a fragmented handshake message

    Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used forge.tls.createConnection(), fragmented handshake message, interleaved record to process the relevant input …

  • High 8.7

    NULL pointer dereference on implicit read of user specific record index

    P-Net before 1.0.3 dereferences a NULL AR pointer in pf_fspm_cm_read_ind() when handling an implicit read request without a valid target AR UUID for a user specific record index, if the application has registered a read callback. A remote unauthenticated atta…

  • High 8.7

    NULL pointer dereference on implicit read of AR specific record index

    P-Net before 1.0.3 dereferences a NULL AR pointer when handling an implicit read request without a valid target AR UUID for a record index that requires an AR (AR specific indices 0xE000-0xEFFF, and the expected identification data of a slot or subslot). A re…

  • High 7.5

    Asterisk: NULL Pointer Dereference in HTTP AMI Digest Authentication

    Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, a NULL pointer dereference in the `Asterisk Manager Interface (AMI)` may allow an una…

  • High 8.7

    Fireware OS NULL Pointer Dereference in Management Interface Allows Unauthenticated Denial of Service

    A NULL pointer dereference vulnerability in WatchGuard Fireware OS’s management interface allows a remote, unauthenticated attacker with network access to the management interface to crash the management service by sending a specially crafted login request. R…

  • High 7.5

    A null pointer dereference was addressed with improved input validation. This issue is fixed in iOS 27 and iPadOS 27, m…

  • High 7.5

    Kiloview E3 NDI Encoder NULL Pointer Dereference

    The ONVIF service on the E3 can be rendered unresponsive by sending malformed or incomplete requests to certain operations. The affected service stops accepting new connections while the rest of the device continues operating normally, and will recover automa…

  • High 7.1

    NULL pointer dereference in the MCTP I2C+GPIO target binding triggerable by a peer I2C controller

    The MCTP-over-I2C+GPIO target binding in subsys/pmci/mctp/mctp_i2c_gpio_target.c emulates a small pseudo-register file, where the bus controller first writes a register number and then writes or reads payload bytes. The selected register (b->reg_addr) and the…

  • High 7.5

    Cisco Expressway Series Software Hardening Release: October 2026 - NULL Pointer Vulnerabilities

    As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco Expressway Series software engineering team has conducted a comprehensive internal security review. This review resulted in software hardening releases that address mul…

  • High 7.5

    Named may terminate unexpectedly when a redirect zone is used with strict QNAME minimization

    A BIND resolver that is configured with both a "redirect" zone and "qname-minimization strict" may abort with an assertion failure while processing the redirect. This issue affects BIND 9 versions 9.16.0 through 9.18.50, 9.20.0 through 9.20.29, 9.21.0 through…

  • High 7.5

    Apache bRPC: Unbounded Resource Consumption and Crash in the HTTP/2 Receive Path

    Uncontrolled resource consumption in the HTTP/2 (h2) receive path of Apache bRPC (version < 1.18.0) on all platforms allows a remote unauthenticated attacker to crash the server or grow its memory without bound by sending crafted HTTP/2 frames. Root Cause: Th…

  • High 8.7

    A NULL pointer dereference vulnerability in the logs management functionality could allow an unauthenticated attacker t…

  • High 8.7

    Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0

    Pillow is a Python imaging library. From 12.0.0 until 13.0.0, Pillow's Image.merge() can dereference a null image8 plane. Validation skips the first input band, allowing a 32-bit integer or floating-point image backed by image32 storage to be merged as a narr…

  • High 8.2

    Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images

    Pillow is a Python imaging library. Prior to 13.0.0, Pillow's rank-based filters can dereference invalid image storage for a zero-size image. ImagingExpand() allocates a non-empty output and then faults while replicating edges by reading the first pixel from …

  • High 7.5

    Netcore NR256CN through 1.5.140116 Boa Web Server NULL Pointer Dereference DoS

    Netcore NR256CN through 1.5.140116 contains a NULL pointer dereference vulnerability in the Boa web server's user_auth() function that allows unauthenticated attackers to crash the server via a malformed Authorization header. Attackers can send a Basic Author…

  • High 7.5

    libIEC61850: Remote NULL dereference in MMS Read alternate-access sub-array path leads to server-side DoS

    libIEC61850 is an open-source implementation of IEC 61850 client and server protocols including MMS, GOOSE, Sampled Values, and R-Session. Prior to 1.6.2, alternateArrayAccess in src/mms/iso_mms/server/mms_read_service.c does not validate an alternate-access …

  • High 7.5

    pupnp: NULL pointer dereference in ixmlNode_compare crashes on non-namespaced attributes

    pupnp is an SDK for development of UPnP device and control point applications. Prior to 2.0.2, ixmlNode_compare in ixml/src/node.c passes the nullable nodeValue, namespaceURI, prefix, and localName fields directly to strcmp. Non-namespaced attributes created …

  • High 7.5

    kin-openapi: Incomplete Fix for GHSA-p6wj-qrr4-pgh5: Three Unpatched nil-Items Panic Paths in openapi3filter

    kin-openapi is a Go project for handling OpenAPI files. From 0.136.0 until 0.149.0, three openapi3filter decoder paths that were missed by the fix for GHSA-p6wj-qrr4-pgh5 lack a nil-items guard for legal OpenAPI 3.1 array schemas. An unauthenticated remote cl…

  • High 8.2

    kin-openapi openapi3filter: nil-pointer panic in ValidateResponse on a response header declared with content

    kin-openapi is a Go project for handling OpenAPI files. Prior to 0.146.0, openapi3filter.ValidateResponse passes a nil response header schema to decodeValue when an OpenAPI document declares the header with content instead of schema. The document passes valid…

  • High 7.5

    kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items

    kin-openapi is a Go project for handling OpenAPI files. From 0.136.0 until 0.143.0, openapi3filter accepts OpenAPI 3.1 array schemas without an items keyword and then dereferences the nil Schema.Items value while decoding application/x-www-form-urlencoded or …

  • High 7.5

    Junos OS and Junos OS Evolved: In a scenario with VPN-flowspec and BMP monitoring a specific BGP update causes an rpd crash

    A NULL Pointer Dereference vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated remote BGP neighbor to cause a denial of service via a VPN-flowspec BGP update if it is readvertised and …