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

2,667 results · Feed

  • Low 2.0

    MaterialX's unchecked nodeGraph->getOutput return is vulnerable to NULL Pointer Dereference

    MaterialX is an open standard for the exchange of rich material and look-development content across applications and renderers. In version 1.39.2, when parsing shader nodes in a MTLX file, the MaterialXCore code accesses a potentially null pointer, which can …

  • Medium 6.5

    Asterisk is Vulnerable to Remote DoS and possible RCE Attacks During Memory Allocation

    Asterisk is an open source private branch exchange and telephony toolkit. In versions up to and including 18.26.2, between 20.00.0 and 20.15.0, 20.7-cert6, 21.00.0, 22.00.0 through 22.5.0, there is a remote DoS and possible RCE condition in `asterisk/res/res_…

  • Medium 6.7

    A null pointer dereference vulnerability exists in the IOMap64.sys driver of ASUS AI Suite 3. The vulnerability can be …

  • Medium 4.6

    OpenEXR ScanLineProcess::run_fill NULL Pointer Write In "reduceMemory" Mode

    OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. In version 3.3.2, when reading a deep scanline image with a large sample count in reduceMemory mode, it is possibl…

  • Low 3.3

    GNU Binutils BFD Library elf.c bfd_elf_get_str_section null pointer dereference

    A vulnerability has been found in GNU Binutils 2.44 and classified as problematic. This vulnerability affects the function bfd_elf_get_str_section of the file bfd/elf.c of the component BFD Library. The manipulation leads to null pointer dereference. Local ac…

  • Medium 6.5

    D-Link DI-8400 jhttpd usb_paswd.asp null pointer dereference

    A vulnerability was found in D-Link DI-8400 16.07.26A1. It has been classified as problematic. This affects an unknown part of the file usb_paswd.asp of the component jhttpd. The manipulation of the argument share_enable leads to null pointer dereference. It …

  • High 7.5

    NULL Pointer Dereference in µD3TN

    NULL Pointer Dereference in µD3TN via non-singleton destination Endpoint Identifier allows remote attacker to reliably cause DoS

  • Medium 4.7

    Libssh: null pointer dereference in libssh kex session id calculation

    A flaw was found in libssh, a library that implements the SSH protocol. When calculating the session ID during the key exchange (KEX) process, an allocation failure in cryptographic functions may lead to a NULL pointer dereference. This issue can cause the cl…

  • Medium 6.5

    Incorrect JavaScript state machine for generators

    The JavaScript engine did not handle closed generators correctly and it was possible to resume them leading to a nullptr deref. This vulnerability was fixed in Firefox 141, Firefox ESR 115.26, Firefox ESR 128.13, Firefox ESR 140.1, Thunderbird 141, Thunderbir…

  • High 7.5

    A null pointer dereference vulnerability exists in the net_connectmsg Protocol Buffer Message functionality of Bloomber…

  • High 7.5

    A null pointer dereference vulnerability exists in the Distributed Transaction component of Bloomberg Comdb2 8.1 when p…

  • High 7.5

    A null pointer dereference vulnerability exists in the CDB2SQLQUERY protocol buffer message handling of Bloomberg Comdb…

  • Medium 5.3

    GPAC dash_client.c gf_dash_download_init_segment null pointer dereference

    A vulnerability was found in GPAC up to 2.4. It has been rated as problematic. Affected by this issue is the function gf_dash_download_init_segment of the file src/media_tools/dash_client.c. The manipulation of the argument base_init_url leads to null pointer…

  • Medium 5.5

    GHSL-2025-059 - 7-Zip - Null pointer array write attempt in NArchive::NCom::CHandler::GetStream

    7-Zip is a file archiver with a high compression ratio. 7-Zip supports extracting from Compound Documents. Prior to version 25.0.0, a null pointer dereference in the Compound handler may lead to denial of service. Version 25.0.0 contains a fix cor the issue.

  • Medium 5.9

    pgsql extension does not check for errors during escaping

    In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* pgsql and pdo_pgsql escaping functions do not check if the underlying quoting functions returned errors. This could cause crashes if Postgres server rejects the string as inv…

  • Medium 5.9

    NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix

    In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 when parsing XML data in SOAP extensions, overly large (>2Gb) XML namespace prefix may lead to null pointer dereference. This may lead to crashes and affect the…

  • Medium 4.3

    Artifex GhostPDL New Output File Open Error gdevpdf.c pdf_ferror null pointer dereference

    A vulnerability was found in Artifex GhostPDL up to 3989415a5b8e99b9d1b87cc9902bde9b7cdea145. It has been classified as problematic. This affects the function pdf_ferror of the file devices/vector/gdevpdf.c of the component New Output File Open Error Handler.…

  • Medium 5.9

    Junos OS and Junos OS Evolved: When a static route points to a reject next-hop and a gNMI query for this route is processed, RPD crashes

    A NULL Pointer Dereference vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated, network-based attacker to cause impact to the availability of the device. When static route points to a …

  • Medium 6.5

    Gnutls: null pointer dereference in _gnutls_figure_common_ciphersuite()

    A NULL pointer dereference flaw was found in the GnuTLS software in _gnutls_figure_common_ciphersuite().

  • Low 3.3

    9fans plan9port x509.c value_decode null pointer dereference

    A vulnerability has been found in 9fans plan9port up to 9da5b44 and classified as problematic. Affected by this vulnerability is the function value_decode in the library src/libsec/port/x509.c. The manipulation leads to null pointer dereference. Local access …

  • Medium 5.5

    Adobe Framemaker | NULL Pointer Dereference (CWE-476)

    Adobe Framemaker versions 2020.8, 2022.6 and earlier are affected by a NULL Pointer Dereference vulnerability that could lead to application denial-of-service. An attacker could exploit this vulnerability to crash the application, causing a disruption in serv…

  • Medium 5.5

    Illustrator | NULL Pointer Dereference (CWE-476)

    Illustrator versions 28.7.6, 29.5.1 and earlier are affected by a NULL Pointer Dereference vulnerability that could lead to application denial-of-service. An attacker could exploit this vulnerability to crash the application, causing a disruption in service. …

  • Medium 5.5

    Substance3D - Viewer | NULL Pointer Dereference (CWE-476)

    Substance3D - Viewer versions 0.22 and earlier are affected by a NULL Pointer Dereference vulnerability that could lead to application denial-of-service. An attacker could exploit this vulnerability to crash the application, causing disruption in service. Exp…

  • High 7.0

    NTFS Elevation of Privilege Vulnerability

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

  • High 7.8

    Microsoft Brokering File System Elevation of Privilege Vulnerability

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

  • High 7.8

    Windows TCP/IP Driver Elevation of Privilege Vulnerability

    Null pointer dereference in Windows TCP/IP allows an authorized attacker to elevate privileges locally.

  • Medium 5.5

    After Effects | NULL Pointer Dereference (CWE-476)

    After Effects versions 25.2, 24.6.6 and earlier are affected by a NULL Pointer Dereference vulnerability that could lead to application denial-of-service. An attacker could exploit this vulnerability to crash the application, causing disruption to services. E…

  • Medium 6.2

    NULL Pointer Dereference in SPS-HLOS

    Transient DOS when importing a PKCS#8-encoded RSA private key with a zero-sized modulus.

  • Medium 4.0

    Null pointer dereference vulnerability in the application exit cause module Impact: Successful exploitation of this vul…

  • High 7.5

    LuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an unsinking of IR_FSTORE for NULL metatable, which …

  • High 7.5

    In Alinto SOPE SOGo 2.0.2 through 5.12.2, sope-core/NGExtensions/NGHashMap.m allows a NULL pointer dereference and SOGo…

  • Low 3.3

    HDF5 H5Centry.c H5C__flush_single_entry null pointer dereference

    A vulnerability was found in HDF5 1.14.6 and classified as problematic. Affected by this issue is the function H5C__flush_single_entry of the file src/H5Centry.c. The manipulation leads to null pointer dereference. The attack needs to be approached locally. T…

  • High 7.5

    berkeley-abc abc 1.1 contains a Null Pointer Dereference (NPD) vulnerability in the Abc_NtkCecFraigPart function of its…

  • High 7.5

    vkoskiv c-ray 1.1 contains a Null Pointer Dereference (NPD) vulnerability in the parse_mtllib function of its data proc…

  • Low 3.3

    HTACG tidy-html5 parser.c InsertNodeAsParent null pointer dereference

    A vulnerability was found in HTACG tidy-html5 5.8.0. It has been declared as problematic. This vulnerability affects the function InsertNodeAsParent of the file src/parser.c. The manipulation leads to null pointer dereference. Local access is required to appr…

  • Low 3.3

    poco MultipartReader.cpp MultipartInputStream null pointer dereference

    A vulnerability was found in poco up to 1.14.1. It has been rated as problematic. Affected by this issue is the function MultipartInputStream of the file Net/src/MultipartReader.cpp. The manipulation leads to null pointer dereference. The attack needs to be a…

  • High 7.5

    An issue was discovered in COROS PACE 3 through 3.0808.0. Due to a NULL pointer dereference vulnerability, sending a cr…

  • High 7.5

    brplot v420.69.1 contains a Null Pointer Dereference (NPD) vulnerability in the br_dagens_handle_once function of its d…

  • Low 2.9

    A NULL pointer dereference vulnerability has been identified in the JavaScript library microlight version 0.0.7, a ligh…

  • Low 2.8

    Null pointer exception vulnerabilities were reported in the fingerprint sensor service that could allow a local attacke…