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

1,548 results · Clear filters · Feed

  • Medium 4.1

    The YugabyteDB tablet server contains a flaw in its YCQL query handling that can trigger a null pointer dereference whe…

  • Medium 6.5

    openjpeg v 2.5.0 was discovered to contain a NULL pointer dereference via the component /openjp2/dwt.c.

  • Medium 5.6

    In GStreamer through 1.26.1, the subparse plugin's tmplayer_parse_line function may dereference a NULL pointer while pa…

  • Medium 5.5

    In GStreamer through 1.26.1, the subparse plugin's subrip_unescape_formatting function may dereference a NULL pointer w…

  • 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…

  • 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 …

  • 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…

  • 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().

  • 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…

  • 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…

  • Medium 5.5

    Acrobat Reader | NULL Pointer Dereference (CWE-476)

    Acrobat Reader versions 24.001.30235, 20.005.30763, 25.001.20521 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, caus…

  • Medium 6.5

    Windows Local Security Authority (LSA) Denial of Service Vulnerability

    Null pointer dereference in Windows Local Security Authority (LSA) allows an authorized attacker to deny service over a network.

  • Medium 5.5

    InDesign Desktop | NULL Pointer Dereference (CWE-476)

    InDesign Desktop versions ID20.2, ID19.5.3 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 serv…

  • Medium 5.3

    File Station 5

    A NULL pointer dereference vulnerability has been reported to affect File Station 5. If a remote attacker gains a user account, they can then exploit the vulnerability to launch a denial-of-service (DoS) attack. We have already fixed the vulnerability in the …

  • Medium 5.3

    File Station 5

    A NULL pointer dereference vulnerability has been reported to affect File Station 5. If a remote attacker gains a user account, they can then exploit the vulnerability to launch a denial-of-service (DoS) attack. We have already fixed the vulnerability in the …

  • Medium 5.3

    File Station 5

    A NULL pointer dereference vulnerability has been reported to affect File Station 5. If a remote attacker gains a user account, they can then exploit the vulnerability to launch a denial-of-service (DoS) attack. We have already fixed the vulnerability in the …

  • Medium 5.3

    File Station 5

    A NULL pointer dereference vulnerability has been reported to affect File Station 5. If a remote attacker gains a user account, they can then exploit the vulnerability to launch a denial-of-service (DoS) attack. We have already fixed the vulnerability in the …

  • Medium 5.1

    In cplog service, there is a possible system crash due to null pointer dereference. This could lead to local denial of …

  • Medium 5.5

    In Bluetooth driver, there is a possible system crash due to an uncaught exception. This could lead to local denial of …

  • Medium 5.5

    In wlan STA driver, there is a possible system crash due to an uncaught exception. This could lead to local denial of s…

  • Medium 5.5

    In wlan STA driver, there is a possible system crash due to an uncaught exception. This could lead to local denial of s…

  • Medium 5.5

    In wlan STA driver, there is a possible system crash due to an uncaught exception. This could lead to local denial of s…

  • Medium 4.8

    yasm commit 9defefae was discovered to contain a NULL pointer dereference via the yasm_section_bcs_append function at s…

  • Medium 5.5

    In the function process_crypto_cmd, the values of ptrs[i] can be potentially equal to NULL which is valid value after c…

  • Medium 4.3
    CVE-2025-4476 Public exploit

    Libsoup: null pointer dereference in libsoup may lead to denial of service

    A denial-of-service vulnerability has been identified in the libsoup HTTP client library. This flaw can be triggered when a libsoup client receives a 401 (Unauthorized) HTTP response containing a specifically crafted domain parameter within the WWW-Authentica…

  • Medium 6.5

    Gnome-remote-desktop: freerdp: unauthenticated rdp packet causes segfault in freerdp leading to denial of service

    A flaw was found in the FreeRDP used by Anaconda's remote install feature, where a crafted RDP packet could trigger a segmentation fault. This issue causes the service to crash and remain defunct, resulting in a denial of service. It occurs pre-boot and is li…

  • Medium 6.5

    Zoom Workplace Apps - NULL Pointer Dereference

    NULL pointer dereference in some Zoom Workplace Apps for Windows may allow an authenticated user to conduct a denial of service via network access.