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,672 results · Feed

  • High 7.6

    Undefined behavior in Tensorflow

    Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseTensorSliceDataset` has an undefined behavior: under certain condition it can be made to dereference a `nullptr` value. The 3 input arguments to `SparseTensorSliceDataset` r…

  • Medium 5.9

    NULL Pointer Dereference in radareorg/radare2

    NULL Pointer Dereference in GitHub repository radareorg/radare2 prior to 5.6.0.

  • Medium 6.5

    Nullptr Dereference in Protobuf

    Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is …

  • Unscored —

    On BIG-IP version 16.1.x before 16.1.2, when any of the following configurations are configured on a virtual server, un…

  • Unscored —

    On BIG-IP version 16.1.x before 16.1.2, when the 'Respond on Error' setting is enabled on the Request Logging profile a…

  • Unscored —

    On BIG-IP version 16.1.x before 16.1.1, 15.1.x before 15.1.4, 14.1.x before 14.1.4.4, and all versions of 13.1.x, when …

  • Unscored —

    On BIG-IP version 16.1.x before 16.1.2, when an HTTP profile is configured on a virtual server, undisclosed requests ca…

  • Unscored —

    On BIG-IP version 16.x before 16.1.0, 15.1.x before 15.1.4.1, 14.1.x before 14.1.4.5, and all versions of 13.1.x, when …

  • Unscored —

    On versions 16.1.x before 16.1.2 and 15.1.x before 15.1.4.1, when BIG-IP SSL Forward Proxy with TLS 1.3 is configured o…

  • Unscored —

    A NULL pointer dereference issue was found in the block mirror layer of QEMU in versions prior to 6.2.0. The `self` poi…

  • Medium 5.5

    NULL Pointer Dereference in mruby/mruby

    NULL Pointer Dereference in Homebrew mruby prior to 3.2.

  • Medium 4.7

    NVIDIA Tegra kernel driver contains a vulnerability in NVHost, where a specific race condition can lead to a null point…

  • Medium 6.2

    NULL Pointer Dereference in mruby/mruby

    mruby is vulnerable to NULL Pointer Dereference

  • Low 3.3

    Adobe Acrobat Pro DC NULL Pointer Dereference could lead to Application-denial-of-service

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a Null pointer dereference vulnerability when parsing a specially crafted file. An unauthenticated attacker could leverage this vul…

  • Low 3.3

    Adobe Acrobat Pro DC NULL Pointer Dereference could lead to Application-denial-of-service

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a Null pointer dereference vulnerability when parsing a specially crafted file. An unauthenticated attacker could leverage this vul…

  • Unscored —

    The bone voice ID TA has a vulnerability in calculating the buffer length,Successful exploitation of this vulnerability…

  • High 7.5

    The HwNearbyMain module has a NULL Pointer Dereference vulnerability.Successful exploitation of this vulnerability may …

  • High 7.5

    The HwNearbyMain module has a NULL Pointer Dereference vulnerability.Successful exploitation of this vulnerability may …

  • Medium 6.8

    NULL Pointer Dereference in mruby/mruby

    mruby is vulnerable to NULL Pointer Dereference

  • Medium 5.5

    Adobe Premiere Rush NULL Pointer Dereference Local Denial-of-Service

    Adobe Premiere Rush versions 1.5.16 (and earlier) are affected by a Null pointer dereference vulnerability. An unauthenticated attacker could leverage this vulnerability to achieve an application denial-of-service in the context of the current user. Exploitat…

  • Medium 5.5

    Adobe Premiere Rush NULL Pointer Dereference Local Denial-of-Service

    Adobe Premiere Rush versions 1.5.16 (and earlier) are affected by a Null pointer dereference vulnerability. An unauthenticated attacker could leverage this vulnerability to achieve an application denial-of-service in the context of the current user. Exploitat…

  • Medium 5.5

    Adobe Premiere Rush NULL Pointer Dereference Local Denial-of-Service

    Adobe Premiere Rush versions 1.5.16 (and earlier) are affected by a Null pointer dereference vulnerability. An unauthenticated attacker could leverage this vulnerability to achieve an application denial-of-service in the context of the current user. Exploitat…

  • Unscored —
    CVE-2021-44224 EPSS 82%

    Possible NULL dereference or SSRF in forward proxy configurations in Apache HTTP Server 2.4.51 and earlier

    A crafted URI sent to httpd configured as a forward proxy (ProxyRequests on) can cause a crash (NULL pointer dereference) or, for configurations mixing forward and reverse proxy declarations, can allow for requests to be directed to a declared Unix Domain Soc…

  • High 7.5

    bounter Null pointer reference

    Null pointer reference in CMS_Conservative_increment_obj in RaRe-Technologies bounter version 1.01 and 1.10, allows attackers to conduct Denial of Service attacks by inputting a huge width of hash bucket.

  • High 7.5

    NumPy NULL Pointer Dereference

    Null Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays. NOTE: While correct …

  • Critical 9.1

    NULL Pointer Dereference in mruby/mruby

    mruby is vulnerable to NULL Pointer Dereference

  • Medium 5.5

    Adobe InCopy NULL Pointer Dereference Application Denial of Service

    Adobe InCopy version 16.4 (and earlier) is affected by a Null pointer dereference vulnerability when parsing a specially crafted file. An unauthenticated attacker could leverage this vulnerability to achieve an application denial-of-service in the context of …

  • Medium 5.5

    Adobe Bridge NULL Pointer Dereference could lead to Application denial-of-service

    Adobe Bridge version 11.1.1 (and earlier) is affected by a Null pointer dereference vulnerability when parsing a specially crafted file. An unauthenticated attacker could leverage this vulnerability to achieve an application denial-of-service in the context o…

  • Medium 5.5

    Adobe Prelude NULL Pointer Dereference Application Denial of Service

    Adobe Prelude version 10.1 (and earlier) is affected by a null pointer dereference vulnerability when parsing a specially crafted file. An unauthenticated attacker could leverage this vulnerability to achieve an application denial-of-service in the context of…

  • Medium 5.5

    Adobe Prelude NULL Pointer Dereference Application Denial of Service

    Adobe Prelude version 10.1 (and earlier) is affected by a null pointer dereference vulnerability when parsing a specially crafted file. An unauthenticated attacker could leverage this vulnerability to achieve an application denial-of-service in the context of…

  • Medium 5.5

    Adobe Animate FLA File Parsing Null Pointer Dereference Application Denial of Service

    Adobe Animate version 21.0.9 (and earlier) is affected by a Null pointer dereference vulnerability when parsing a specially crafted FLA file. An unauthenticated attacker could leverage this vulnerability to achieve an application denial-of-service in the cont…

  • Medium 5.5

    Adobe After Effects NULL Pointer Dereference Application Denial of Service

    Adobe After Effects version 18.4.1 (and earlier) is affected by a Null pointer dereference vulnerability when parsing a specially crafted file. An unauthenticated attacker could leverage this vulnerability to achieve an application denial-of-service in the co…

  • Medium 5.5

    Adobe After Effects NULL Pointer Dereference Application Denial of Service

    Adobe After Effects version 18.4.1 (and earlier) is affected by a Null pointer dereference vulnerability when parsing a specially crafted file. An unauthenticated attacker could leverage this vulnerability to achieve an application denial-of-service in the co…

  • Medium 5.5

    Denial of Service in Go-Ethereum

    Go-Ethereum 1.10.9 nodes crash (denial of service) after receiving a serial of messages and cannot be recovered. They will crash with "runtime error: invalid memory address or nil pointer dereference" and arise a SEGV signal.

  • High 7.5

    NULL Pointer Dereference in HyperLedger Fabric

    A vulnerability has been detected in HyperLedger Fabric v1.4.0, v2.0.0, v2.1.0. This bug can be leveraged by constructing a message whose payload is nil and sending this message with the method 'forwardToLeader'. This bug has been admitted and fixed by the de…

  • Unscored —

    A NULL pointer dereference in Busybox's hush applet leads to denial of service when processing a crafted shell command,…

  • Unscored —

    A NULL pointer dereference in Busybox's man applet leads to denial of service when a section name is supplied but no pa…

  • High 8.8

    Incomplete validation in boosted trees code

    TensorFlow is an open source platform for machine learning. In affected versions the code for boosted trees in TensorFlow is still missing validation. As a result, attackers can trigger denial of service (via dereferencing `nullptr`s or via `CHECK`-failures) …

  • Medium 5.5

    Null pointer exception in `DeserializeSparse`

    TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `DeserializeSparse` can trigger a null pointer dereference. This is because the shape inference function assumes that the `serialize_sparse` tensor i…

  • Medium 5.5

    Null pointer exception when `Exit` node is not preceded by `Enter` op

    TensorFlow is an open source platform for machine learning. In affected versions the process of building the control flow graph for a TensorFlow model is vulnerable to a null pointer exception when nodes that should be paired are not. This occurs because the …