CyberSecBulletin

NULL Pointer Dereference

CWE-476

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

We track 682 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 7.7. 1 has been exploited in real attacks.

How this weakness is prevented

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

Latest NULL Pointer Dereference vulnerabilities

  • 7.5 High severity

    squid: NULL Pointer Dereference

    CVE-2023-46728Squid-cacheEPSS 3.77%

    Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Due to a NULL pointer dereference bug Squid is vulnerable to a Denial of Service attack against Squid's Gopher gateway. The gopher protocol is always available and enabled in Squid pri

  • 7.5 High severity

    quic-go: NULL Pointer Dereference

    CVE-2023-46239Quic-go

    quic-go is an implementation of the QUIC protocol in Go. Starting in version 0.37.0 and prior to version 0.37.3, by serializing an ACK frame after the CRYTPO that allows a node to complete the handshake, a remote node could trigger a nil pointer dereference (l

  • 7.5 High severity

    stb: NULL Pointer Dereference

    CVE-2023-45667NothingsEPSS 1.27%

    stb_image is a single file MIT licensed library for processing images. If `stbi__load_gif_main` in `stbi_load_gif_from_memory` fails it returns a null pointer and may keep the `z` variable uninitialized. In case the caller also sets the flip vertically flag, i

  • 7.5 High severity

    HarmonyOS: NULL Pointer Dereference

    CVE-2022-48606Huawei

    Stability-related vulnerability in the binder background management and control module. Successful exploitation of this vulnerability may affect availability.

  • 7.5 High severity

    Exynos 9810 Firmware: NULL Pointer Dereference

    CVE-2023-37368Samsung

    An issue was discovered in Samsung Exynos Mobile Processor, Automotive Processor, and Modem (Exynos Mobile Processor, Automotive Processor, and Modem - Exynos 9810, Exynos 9610, Exynos 9820, Exynos 980, Exynos 850, Exynos 1080, Exynos 2100, Exynos 2200, Exynos

  • 7.5 High severity

    Frrouting: NULL Pointer Dereference

    CVE-2023-41909FrroutingEPSS 1.12%

    An issue was discovered in FRRouting FRR through 9.0. bgp_nlri_parse_flowspec in bgpd/bgp_flowspec.c processes malformed requests with no attributes, leading to a NULL pointer dereference.

  • 7.5 High severity

    FreeRDP: NULL Pointer Dereference

    CVE-2023-39351FreeRDPEPSS 1.56%

    FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions of FreeRDP are subject to a Null Pointer Dereference leading a crash in the RemoteFX (rfx) handling. Inside the `rfx_process_message_til

  • 10.0 Critical severity

    Qemu: NULL Pointer Dereference

    CVE-2022-36648QEMUEPSS 1.73%

    The hardware emulation in the of_dpa_cmd_add_l2_flood of rocker device model in QEMU, as used in 7.0.0 and earlier, allows remote attackers to crash the host qemu and potentially execute code on the host via execute a malformed program in the guest OS. Note: T

  • 7.8 High severity

    Parasolid V34.1: NULL Pointer Dereference

    CVE-2023-38524Siemens

    A vulnerability has been identified in Parasolid V34.1 (All versions < V34.1.258), Parasolid V35.0 (All versions < V35.0.254), Parasolid V35.1 (All versions < V35.1.171), Teamcenter Visualization V14.1 (All versions < V14.1.0.11), Teamcenter Visualization V14.

  • 7.5 High severity

    kernel: NULL Pointer Dereference

    CVE-2023-32252KernelEPSS 4.06%

    A flaw was found in the Linux kernel's ksmbd, a high-performance in-kernel SMB server. The specific flaw exists within the handling of SMB2_LOGOFF commands. The issue results from the lack of proper validation of a pointer prior to accessing it. An attacker ca

  • 7.5 High severity

    kernel: NULL Pointer Dereference

    CVE-2023-32248KernelEPSS 4.06%

    A flaw was found in the Linux kernel's ksmbd, a high-performance in-kernel SMB server. The specific flaw exists within the handling of SMB2_TREE_CONNECT and SMB2_QUERY_INFO commands. The issue results from the lack of proper validation of a pointer prior to ac

  • 7.8 High severity

    Red Hat Enterprise Linux 6: NULL Pointer Dereference

    CVE-2023-3106Red Hat

    A NULL pointer dereference vulnerability was found in netlink_dump. This issue can occur when the Netlink socket receives the message(sendmsg) for the XFRM_MSG_GETSA, XFRM_MSG_GETPOLICY type message, and the DUMP flag is set and can cause a denial of service o

  • 7.5 High severity

    mfc-j960dwn_firmware: NULL Pointer Dereference

    CVE-2023-29984Brother Industries

    Null pointer dereference vulnerability exists in multiple vendors MFPs and printers which implement Debut web server 1.2 or 1.3. Processing a specially crafted request may lead an affected product to a denial-of-service (DoS) condition. As for the affected pro

  • 7.5 High severity

    qemu: NULL Pointer Dereference

    CVE-2023-3354QEMUEPSS 1.61%

    A flaw was found in the QEMU built-in VNC server. When a client connects to the VNC server, QEMU checks whether the current number of connections crosses a certain threshold and if so, cleans up the previous connection. If the previous connection happens to be

  • 7.5 High severity

    HarmonyOS: NULL Pointer Dereference

    CVE-2023-34164Huawei

    Vulnerability of incomplete input parameter verification in the communication framework module. Successful exploitation of this vulnerability may affect availability.

  • 8.8 High severity

    Firefox: NULL Pointer Dereference

    CVE-2023-29539Mozilla

    When handling the filename directive in the Content-Disposition header, the filename would be truncated if the filename contained a NULL character. This could have led to reflected file download attacks potentially tricking users to install malware. This vulne

  • 7.7 High severity

    zephyr: NULL Pointer Dereference

    CVE-2023-0779Zephyrproject-rtos

    At the most basic level, an invalid pointer can be input that crashes the device, but with more knowledge of the device’s memory layout, further exploitation is possible.

  • 7.5 High severity

    RIOT: NULL Pointer Dereference

    CVE-2023-33973Riot-os

    RIOT-OS, an operating system for Internet of Things (IoT) devices, contains a network stack with the ability to process 6LoWPAN frames. In versions 2023.01 and prior, an attacker can send a crafted frame which is forwarded by the device. During encoding of the

  • 7.5 High severity

    RIOT: Unchecked Return Value

    CVE-2023-24825Riot-os

    RIOT-OS, an operating system for Internet of Things (IoT) devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2023.04, an attacker can send a crafted frame to the device to trigger a NULL pointer dereference leading t

  • 7.5 High severity

    Hermes: NULL Pointer Dereference

    CVE-2023-24832Facebook

    A null pointer dereference bug in Hermes prior to commit 5cae9f72975cf0e5a62b27fdd8b01f103e198708 could have been used by an attacker to crash an Hermes runtime where the EnableHermesInternal config option was set to true. Note that this is only exploitable in

  • 7.8 High severity

    Intel(R) VROC software: NULL Pointer Dereference

    CVE-2022-29508Intel(R) VROC software

    Null pointer dereference in the Intel(R) VROC software before version 7.7.6.1003 may allow an authenticated user to potentially enable escalation of privilege via local access.

  • 7.5 High severity

    wechat_qrcode Module: NULL Pointer Dereference

    CVE-2023-2617OpenCVEPSS 1.36%

    A vulnerability classified as problematic was found in OpenCV wechat_qrcode Module up to 4.7.0. Affected by this vulnerability is the function DecodedBitStreamParser::decodeByteSegment of the file qrcode/decoder/decoded_bit_stream_parser.cpp. The manipulation

  • 9.8 Critical severity

    contiki-ng: NULL Pointer Dereference

    CVE-2023-31129Contiki-ng

    The Contiki-NG operating system versions 4.8 and prior can be triggered to dereference a NULL pointer in the message handling code for IPv6 router solicitiations. Contiki-NG contains an implementation of IPv6 Neighbor Discovery (ND) in the module `os/net/ipv6/

  • 7.8 High severity

    xen: NULL Pointer Dereference

    CVE-2022-42335Xen

    x86 shadow paging arbitrary pointer dereference In environments where host assisted address translation is necessary but Hardware Assisted Paging (HAP) is unavailable, Xen will run guests in so called shadow mode. Due to too lax a check in one of the hyperviso

  • 7.5 High severity

    RIOT: NULL Pointer Dereference

    CVE-2023-24822Riot-os

    RIOT-OS, an operating system that supports Internet of Things devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2022.10, an attacker can send a crafted frame to the device resulting in a NULL pointer dereference whi

  • 7.5 High severity

    RIOT: NULL Pointer Dereference

    CVE-2023-24818Riot-osEPSS 1.21%

    RIOT-OS, an operating system that supports Internet of Things devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2022.10, an attacker can send a crafted frame to the device resulting in a NULL pointer dereference. Du

  • 9.8 Critical severity

    Strongswan: Improper Certificate Validation

    CVE-2023-26463strongSwanEPSS 2.26%

    strongSwan 5.9.8 and 5.9.9 potentially allows remote code execution because it uses a variable named "public" for two different purposes within the same function. There is initially incorrect access control, later followed by an expired pointer dereference. On

  • 7.5 High severity

    SIPROTEC 5 6MD85 (CP300): NULL Pointer Dereference

    CVE-2023-28766Siemens

    A vulnerability has been identified in SIPROTEC 5 6MD85 (CP300) (All versions >= V7.80 < V9.40), SIPROTEC 5 6MD86 (CP300) (All versions >= V7.80 < V9.40), SIPROTEC 5 6MD89 (CP300) (All versions >= V7.80 < V9.64), SIPROTEC 5 6MU85 (CP300) (All versions >= V7.80

  • 7.5 High severity

    mod_auth_openidc: NULL Pointer Dereference

    CVE-2023-28625OpenIDCEPSS 1.32%

    mod_auth_openidc is an authentication and authorization module for the Apache 2.x HTTP server that implements the OpenID Connect Relying Party functionality. In versions 2.0.0 through 2.4.13.1, when `OIDCStripCookies` is set and a crafted cookie supplied, a NU

  • 7.5 High severity

    Heimdal Software Kerberos: NULL Pointer Dereference

    CVE-2022-3116Heimdal Software Kerberos

    The Heimdal Software Kerberos 5 implementation is vulnerable to a null pointer dereferance. An attacker with network access to an application that depends on the vulnerable code path can cause the application to crash.

  • 7.5 High severity

    tensorflow: NULL Pointer Dereference

    CVE-2023-25676TensorFlow

    TensorFlow is an open source machine learning platform. When running versions prior to 2.12.0 and 2.11.1 with XLA, `tf.raw_ops.ParallelConcat` segfaults with a nullptr dereference when given a parameter `shape` with rank that is not greater than zero. A fix is

  • 7.5 High severity

    tensorflow: NULL Pointer Dereference

    CVE-2023-25674TensorFlow

    TensorFlow is an open source machine learning platform. Versions prior to 2.12.0 and 2.11.1 have a null pointer error in RandomShuffle with XLA enabled. A fix is included in TensorFlow 2.12.0 and 2.11.1.

  • 7.5 High severity

    tensorflow: NULL Pointer Dereference

    CVE-2023-25672TensorFlow

    TensorFlow is an open source platform for machine learning. The function `tf.raw_ops.LookupTableImportV2` cannot handle scalars in the `values` parameter and gives an NPE. A fix is included in TensorFlow version 2.12.0 and version 2.11.1.

  • 7.5 High severity

    tensorflow: NULL Pointer Dereference

    CVE-2023-25670TensorFlow

    TensorFlow is an open source platform for machine learning. Versions prior to 2.12.0 and 2.11.1 have a null point error in QuantizedMatMulWithBiasAndDequantize with MKL enabled. A fix is included in TensorFlow version 2.12.0 and version 2.11.1.

  • 7.5 High severity

    tensorflow: NULL Pointer Dereference

    CVE-2023-25665TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, when `SparseSparseMaximum` is given invalid sparse tensors as inputs, it can give a null pointer error. A fix is included in TensorFlow version 2.12 and version 2.

  • 7.5 High severity

    tensorflow: NULL Pointer Dereference

    CVE-2023-25663TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, when `ctx->step_containter()` is a null ptr, the Lookup function will be executed with a null pointer. A fix is included in TensorFlow 2.12.0 and 2.11.1.

  • 7.5 High severity

    tensorflow: NULL Pointer Dereference

    CVE-2023-25660TensorFlow

    TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, when the parameter `summarize` of `tf.raw_ops.Print` is zero, the new method `SummarizeArray<bool>` will reference to a nullptr, leading to a seg fault. A fix is i

  • 7.5 High severity

    Tcpreplay: NULL Pointer Dereference

    CVE-2023-27784BroadcomEPSS 1.47%

    An issue found in TCPReplay v.4.4.3 allows a remote attacker to cause a denial of service via the read_hexstring function at the utils.c:309 endpoint.

  • 7.0 High severity

    Linux Kernel: NULL Pointer Dereference

    CVE-2023-28466Linux

    do_tls_getsockopt in net/tls/tls_main.c in the Linux kernel through 6.2.6 lacks a lock_sock call, leading to a race condition (with a resultant use-after-free or NULL pointer dereference).

  • 7.5 High severity

    Crasm: NULL Pointer Dereference

    CVE-2023-23108Crasm Project

    In crasm 1.8-3, invalid input validation, specific files passed to the command line application, can lead to a NULL pointer dereference in the function Xasc.