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

4,663 results · Clear filters · Feed

  • High 7.8

    Microsoft Excel Remote Code Execution Vulnerability

    Use after free in Microsoft Office Excel allows an unauthorized attacker to execute code locally.

  • High 8.4

    Microsoft Office Remote Code Execution Vulnerability

    Use after free in Microsoft Office allows an unauthorized attacker to execute code locally.

  • High 8.4

    Microsoft Office Remote Code Execution Vulnerability

    Use after free in Microsoft Office allows an unauthorized attacker to execute code locally.

  • High 7.8

    Microsoft PowerPoint Remote Code Execution Vulnerability

    Use after free in Microsoft Office PowerPoint allows an unauthorized attacker to execute code locally.

  • High 7.8

    Microsoft Excel Remote Code Execution Vulnerability

    Use after free in Microsoft Office Excel allows an unauthorized attacker to execute code locally.

  • High 7.8

    Microsoft Brokering File System Elevation of Privilege Vulnerability

    Use after free in Microsoft Brokering File System allows an authorized attacker to elevate privileges locally.

  • High 7.5

    Pixmeo OsiriX MD Use After Free

    Pixmeo OsiriX MD is vulnerable to a use after free scenario, which could allow an attacker to upload a crafted DICOM file and cause memory corruption leading to a denial-of-service condition.

  • High 8.8

    Use after free in WebAudio in Google Chrome prior to 136.0.7103.92 allowed a remote attacker to potentially exploit hea…

  • High 7.8

    Use After Free in GPS HLOS Driver

    Memory corruption while processing a data structure, when an iterator is accessed after it has been removed, potential failures occur.

  • High 7.8

    Use After Free in Camera Driver

    Memory corruption while encoding JPEG format.

  • High 7.8

    Use After Free in Camera Driver

    Memory corruption during concurrent buffer access due to modification of the reference count.

  • High 7.8

    Use After Free in HLOS

    Memory corruption during concurrent access to server info object due to incorrect reference count update.

  • High 7.8

    Use After Free in DSP Service

    Memory corruption during concurrent SSR execution due to race condition on the global maps list.

  • High 7.8

    Use-After-Free vulnerability exists in SOLIDWORKS eDrawings on Release SOLIDWORKS Desktop 2025

    Use-After-Free vulnerability exists in the SLDPRT file reading procedure in SOLIDWORKS eDrawings on Release SOLIDWORKS Desktop 2025. This vulnerability could allow an attacker to execute arbitrary code while opening a specially crafted SLDPRT file.

  • High 7.8

    Mali GPU Kernel Driver allows access to already freed memory

    Use After Free vulnerability in Arm Ltd Bifrost GPU Kernel Driver, Arm Ltd Valhall GPU Kernel Driver, Arm Ltd Arm 5th Gen GPU Architecture Kernel Driver allows a local non-privileged user process to perform valid GPU processing operations to gain access to al…

  • High 7.8

    Mali GPU Kernel Driver allows improper GPU memory processing operations

    Use After Free vulnerability in Arm Ltd Valhall GPU Kernel Driver, Arm Ltd Arm 5th Gen GPU Architecture Kernel Driver allows a local non-privileged user process to perform improper GPU memory processing operations to gain access to already freed memory. This …

  • High 7.8

    net: sched: Fix use after free in red_enqueue()

    In the Linux kernel, the following vulnerability has been resolved: net: sched: Fix use after free in red_enqueue() We can't use "skb" again after passing it to qdisc_enqueue(). This is basically identical to commit 2f09707d0c97 ("sch_sfb: Also store skb len …

  • High 7.8

    netfilter: nf_tables: release flow rule object from commit path

    In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: release flow rule object from commit path No need to postpone this to the commit release path, since no packets are walking over this object, this is accessed from contr…

  • High 7.8

    ASoC: core: Fix use-after-free in snd_soc_exit()

    In the Linux kernel, the following vulnerability has been resolved: ASoC: core: Fix use-after-free in snd_soc_exit() KASAN reports a use-after-free: BUG: KASAN: use-after-free in device_del+0xb5b/0xc60 Read of size 8 at addr ffff888008655050 by task rmmod/387…

  • High 7.8

    bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()

    In the Linux kernel, the following vulnerability has been resolved: bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb() We got a syzkaller problem because of aarch64 alignment fault if KFENCE enabled. When the size from user bpf program is an odd …

  • High 7.5

    Denial of service via crafted DoH exchange

    When DNSdist is configured to provide DoH via the nghttp2 provider, an attacker can cause a denial of service by crafting a DoH exchange that triggers an illegal memory access (double-free) and crash of DNSdist, causing a denial of service. The remedy is: upg…

  • High 8.8
    CVE-2025-24252 Public exploit

    A use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 18.4 and iPadOS 18.4, …

  • High 8.8

    Sonos Era 300 Speaker libsmb2 Use-After-Free Remote Code Execution Vulnerability

    Sonos Era 300 Speaker libsmb2 Use-After-Free Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Sonos Era 300 speakers. Authentication is not required to exploit thi…

  • High 7.8

    Luxion KeyShot SKP File Parsing Use-After-Free Remote Code Execution Vulnerability

    Luxion KeyShot SKP File Parsing Use-After-Free Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Luxion KeyShot. User interaction is required to exploit this vulnerability in…

  • High 7.8

    HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition

    In the Linux kernel, the following vulnerability has been resolved: HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition In the ssi_protocol_probe() function, &ssi->work is bound with ssip_xmit_work(), In ssip_pn_se…

  • High 8.8

    can: peak_usb: fix use after free bugs

    In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: fix use after free bugs After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the peak_u…

  • High 7.8

    can: vxcan: vxcan_xmit: fix use after free bug

    In the Linux kernel, the following vulnerability has been resolved: can: vxcan: vxcan_xmit: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the canfd_frame cfd which aliases skb memory is accessed after the neti…

  • High 8.8

    can: dev: can_restart: fix use after free bug

    In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the netif_rx…

  • High 8.1

    A race condition Use-After-Free vulnerability exists in the virtio_transport_space_update function within the Kernel 5.…

  • High 8.8

    Use after free in USB in Google Chrome prior to 135.0.7049.95 allowed a remote attacker to potentially exploit heap cor…

  • High 7.8

    drm/vkms: Fix use after free and double free on init error

    In the Linux kernel, the following vulnerability has been resolved: drm/vkms: Fix use after free and double free on init error If the driver initialization fails, the vkms_exit() function might access an uninitialized or freed default_config pointer and it mi…

  • High 7.8

    RDMA/core: Fix use-after-free when rename device name

    In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix use-after-free when rename device name Syzbot reported a slab-use-after-free with the following call trace: ================================================================== B…

  • High 7.8

    ublk: make sure ubq->canceling is set when queue is frozen

    In the Linux kernel, the following vulnerability has been resolved: ublk: make sure ubq->canceling is set when queue is frozen Now ublk driver depends on `ubq->canceling` for deciding if the request can be dispatched via uring_cmd & io_uring_cmd_complete_in_t…

  • High 8.8

    ksmbd: fix use-after-free in ksmbd_sessions_deregister()

    In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbd_sessions_deregister() In multichannel mode, UAF issue can occur in session_deregister when the second channel sets up a session through the connection of th…

  • High 8.8

    ksmbd: fix session use-after-free in multichannel connection

    In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix session use-after-free in multichannel connection There is a race condition between session setup and ksmbd_sessions_deregister. The session can be freed before the connection is a…

  • High 7.8

    exfat: fix random stack corruption after get_block

    In the Linux kernel, the following vulnerability has been resolved: exfat: fix random stack corruption after get_block When get_block is called with a buffer_head allocated on the stack, such as do_mpage_readpage, stack corruption due to buffer_head UAF may o…

  • High 7.8

    tracing: Fix use-after-free in print_graph_function_flags during tracer switching

    In the Linux kernel, the following vulnerability has been resolved: tracing: Fix use-after-free in print_graph_function_flags during tracer switching Kairui reported a UAF issue in print_graph_function_flags() during ftrace stress testing [1]. This issue can …

  • High 7.8

    memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove

    In the Linux kernel, the following vulnerability has been resolved: memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove This fixes the following crash: ================================================================== BUG: KASAN: slab-us…

  • High 8.8

    A use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 17 and iPadOS 17, macO…

  • High 7.8

    Animate | Use After Free (CWE-416)

    Animate versions 24.0.7, 23.0.10 and earlier are affected by a Use After Free vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a victim must open a mal…