Skip to content
OpenAdvisories

Weakness (CWE)

CWE-416: Use After Free

Variant

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

How to prevent it (2 mitigations)
  1. Architecture and Design

    Choose a language that provides automatic memory management.

  2. Implementation

    When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

Source: MITRE CWE-416

517 results · Clear filters · Feed

  • Critical 9.8

    tcp: Fix use-after-free of nreq in reqsk_timer_handler().

    In the Linux kernel, the following vulnerability has been resolved: tcp: Fix use-after-free of nreq in reqsk_timer_handler(). The cited commit replaced inet_csk_reqsk_queue_drop_and_put() with __inet_csk_reqsk_queue_drop() and reqsk_put() in reqsk_timer_handl…

  • Critical 9.8

    ksmbd: fix use-after-free in SMB request handling

    In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in SMB request handling A race condition exists between SMB request handling in `ksmbd_conn_handler_loop()` and the freeing of `ksmbd_conn` in the workqueue handler …

  • Critical 9.8

    smb: client: fix use-after-free of signing key

    In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free of signing key Customers have reported use-after-free in @ses->auth_key.response with SMB2.1 + sign mounts which occurs due to following race: task A task B ci…

  • Critical 9.8

    smb: prevent use-after-free due to open_cached_dir error paths

    In the Linux kernel, the following vulnerability has been resolved: smb: prevent use-after-free due to open_cached_dir error paths If open_cached_dir() encounters an error parsing the lease from the server, the error handling may race with receiving a lease b…

  • Critical 10.0

    Use After Free in the android.hardware.radio.sap.ISap/slot2 service

    There is a possible UAF due to a logic error in the code. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

  • Critical 9.1

    Open Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions were discovered to contain a use-after-free vi…

  • Critical 9.1

    Open Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions were discovered to contain a use-after-free vi…

  • Critical 9.1

    Open Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions were discovered to contain a use-after-free vi…

  • Critical 9.1

    Open Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions were discovered to contain a use-after-free vi…

  • Critical 9.1

    Open Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions were discovered to contain a use-after-free vi…

  • Critical 9.8

    Open Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions were discovered to contain a use-after-free vi…

  • Critical 9.1

    Open Robotics Robotic Operating System 2 (ROS2) and Nav2 humble versions were discovered to contain a use-after-free vi…

  • Critical 9.8

    smb: client: Fix use-after-free of network namespace.

    In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix use-after-free of network namespace. Recently, we got a customer report that CIFS triggers oops while reconnecting to a server. [0] The workload runs on Kubernetes, and some …

  • Critical 9.8

    ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create

    In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create There is a race condition between ksmbd_smb2_session_create and ksmbd_expire_session. This patch add missing sessions_table_lock wh…

  • Critical 9.8

    ksmbd: fix slab-use-after-free in smb3_preauth_hash_rsp

    In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-use-after-free in smb3_preauth_hash_rsp ksmbd_user_session_put should be called under smb3_preauth_hash_rsp(). It will avoid freeing session before calling smb3_preauth_hash_r…

  • Critical 9.8

    Use After Free with SSL_free_buffers

    Issue summary: Calling the OpenSSL API function SSL_free_buffers may cause memory to be accessed that was previously freed in some situations Impact summary: A use after free can have a range of potential consequences such as the corruption of valid data, cra…

  • Critical 9.8

    tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink().

    In the Linux kernel, the following vulnerability has been resolved: tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink(). Martin KaFai Lau reported use-after-free [0] in reqsk_timer_handler(). """ We are seeing a use-after-free from a bpf prog attached…

  • Critical 9.8

    nfsd: fix race between laundromat and free_stateid

    In the Linux kernel, the following vulnerability has been resolved: nfsd: fix race between laundromat and free_stateid There is a race between laundromat handling of revoked delegations and a client sending free_stateid operation. Laundromat thread finds that…

  • Critical 9.8

    ksmbd: fix user-after-free from session log off

    In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix user-after-free from session log off There is racy issue between smb2 session log off and smb2 session setup. It will cause user-after-free from session log off. This add session_l…

  • Critical 9.8

    mptcp: pm: fix UaF read in mptcp_pm_nl_rm_addr_or_subflow

    In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: fix UaF read in mptcp_pm_nl_rm_addr_or_subflow Syzkaller reported this splat: ================================================================== BUG: KASAN: slab-use-after-free in …

  • Critical 9.8
    CVE-2024-9680 Exploited · Ransomware Public exploit EPSS 23%

    An attacker was able to achieve code execution in the content process by exploiting a use-after-free in Animation timel…

    KEV Oct 15, 2024
  • Critical 9.8
    CVE-2024-43491 EPSS 13%

    Microsoft Windows Update Remote Code Execution Vulnerability

    Microsoft is aware of a vulnerability in Servicing Stack that has rolled back the fixes for some vulnerabilities affecting Optional Components on Windows 10, version 1507 (initial version released July 2015). This means that an attacker could exploit these pr…

  • Critical 9.8

    umtx Kernel panic or Use-After-Free

    Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of UMTX_OP_SHM can lead to decreasing the reference count of the object representing the mapping too many times, causing it to be freed too early. A mali…

  • Critical 9.8

    Multiple issues in ctl(4) CAM Target Layer

    The function ctl_write_buffer incorrectly set a flag which resulted in a kernel Use-After-Free when a command finished processing. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities to achieve code execution on t…

  • Critical 9.8

    The JavaScript garbage collector could mis-color cross-compartment objects if OOM conditions were detected at the right…

  • Critical 9.8

    Windows Reliable Multicast Transport Driver (RMCAST) Remote Code Execution Vulnerability

    Windows Reliable Multicast Transport Driver (RMCAST) Remote Code Execution Vulnerability

  • Critical 9.8

    Windows Line Printer Daemon (LPD) Service Remote Code Execution Vulnerability

    Windows Line Printer Daemon (LPD) Service Remote Code Execution Vulnerability

  • Critical 9.1

    Windows Network Virtualization Remote Code Execution Vulnerability

    Windows Network Virtualization Remote Code Execution Vulnerability

  • Critical 9.8

    Incorrect garbage collection interaction could have led to a use-after-free. This vulnerability affects Firefox < 129.

  • Critical 9.8

    Incorrect garbage collection interaction in IndexedDB could have led to a use-after-free. This vulnerability affects Fi…

  • Critical 9.8

    A use-after-free issue was addressed with improved memory management. This issue is fixed in Safari 17.6, iOS 16.7.9 an…

  • Critical 9.8
    CVE-2024-30080 EPSS 43%

    Microsoft Message Queuing (MSMQ) Remote Code Execution Vulnerability

    Microsoft Message Queuing (MSMQ) Remote Code Execution Vulnerability

  • Critical 9.8
    CVE-2024-36886 Public exploit

    tipc: fix UAF in error path

    In the Linux kernel, the following vulnerability has been resolved: tipc: fix UAF in error path Sam Page (sam4k) working with Trend Micro Zero Day Initiative reported a UAF in the tipc_buf_append() error path: BUG: KASAN: slab-use-after-free in kfree_skb_list…

  • Critical 9.8

    nvme-rdma: destroy cm id before destroy qp to avoid use after free

    In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: destroy cm id before destroy qp to avoid use after free We should always destroy cm_id before destroy qp to avoid to get cma event after qp was destroyed, which may lead to use aft…

  • Critical 9.8

    can: j1939: fix Use-after-Free, hold skb ref while in use

    In the Linux kernel, the following vulnerability has been resolved: can: j1939: fix Use-after-Free, hold skb ref while in use This patch fixes a Use-after-Free found by the syzbot. The problem is that a skb is taken from the per-session skb queue, without inc…

  • Critical 9.8

    smb: client: fix UAF in smb2_reconnect_server()

    In the Linux kernel, the following vulnerability has been resolved: smb: client: fix UAF in smb2_reconnect_server() The UAF bug is due to smb2_reconnect_server() accessing a session that is already being teared down by another thread that is executing __cifs_…

  • Critical 9.8

    smb: client: guarantee refcounted children from parent session

    In the Linux kernel, the following vulnerability has been resolved: smb: client: guarantee refcounted children from parent session Avoid potential use-after-free bugs when walking DFS referrals, mounting and performing DFS failover by ensuring that all childr…

  • Critical 9.6

    Use after free in V8 in Google Chrome prior to 125.0.6422.60 allowed a remote attacker to potentially exploit heap corr…

  • Critical 9.8

    Multiple WebRTC threads could have claimed a newly connected audio input leading to use-after-free. This vulnerability …

  • Critical 9.3

    VMware Workstation and Fusion contain a use-after-free vulnerability in the vbluetooth device. A malicious actor with l…