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

6,545 results · Feed

  • Low 3.3

    HDF5 H5FL.c H5FL__blk_gc_list use after free

    A vulnerability was found in HDF5 up to 1.14.6. It has been rated as critical. Affected by this issue is the function H5FL__blk_gc_list of the file src/H5FL.c. The manipulation of the argument H5FL_blk_head_t leads to use after free. An attack has to be appro…

  • High 7.8

    net: nfc: Fix use-after-free in local_cleanup()

    In the Linux kernel, the following vulnerability has been resolved: net: nfc: Fix use-after-free in local_cleanup() Fix a use-after-free that occurs in kfree_skb() called from local_cleanup(). This could happen when killing nfc daemon (e.g. neard) after detac…

  • High 7.8

    net/sched: sch_taprio: fix possible use-after-free

    In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_taprio: fix possible use-after-free syzbot reported a nasty crash [1] in net_tx_action() which made little sense until we got a repro. This repro installs a taprio qdisc, but p…

  • High 7.8

    EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info

    In the Linux kernel, the following vulnerability has been resolved: EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info The memory for llcc_driv_data is allocated by the LLCC driver. But when it is passed as the private driver info to the…

  • High 7.8

    net: fix UaF in netns ops registration error path

    In the Linux kernel, the following vulnerability has been resolved: net: fix UaF in netns ops registration error path If net_assign_generic() fails, the current error path in ops_init() tries to clear the gen pointer slot. Anyway, in such error path, the gen …

  • High 7.8

    block, bfq: fix uaf for bfqq in bic_set_bfqq()

    In the Linux kernel, the following vulnerability has been resolved: block, bfq: fix uaf for bfqq in bic_set_bfqq() After commit 64dc8c732f5c ("block, bfq: fix possible uaf for 'bfqq->bic'"), bic->bfqq will be accessed in bic_set_bfqq(), however, in some conte…

  • High 7.8

    scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress

    In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress Bug report and analysis from Ding Hui. During iSCSI session logout, if another task accesses the shost ipaddress attr…

  • High 7.8

    scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress

    In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress If during iscsi_sw_tcp_session_create() iscsi_tcp_r2tpool_alloc() fails, userspace could be accessing the host's ipadd…

  • High 7.8

    vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF

    In the Linux kernel, the following vulnerability has been resolved: vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF After a call to console_unlock() in vcs_read() the vc_data struct can be freed by vc_deallocate(). Because of that, t…

  • High 7.8

    btrfs: always report error in run_one_delayed_ref()

    In the Linux kernel, the following vulnerability has been resolved: btrfs: always report error in run_one_delayed_ref() Currently we have a btrfs_debug() for run_one_delayed_ref() failure, but if end users hit such problem, there will be no chance that btrfs_…

  • High 7.8

    usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait

    In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait While performing fast composition switch, there is a possibility that the process of ffs_ep0_write/ffs_ep0_read get into a race condi…

  • High 7.8

    dmaengine: Fix double increment of client_count in dma_chan_get()

    In the Linux kernel, the following vulnerability has been resolved: dmaengine: Fix double increment of client_count in dma_chan_get() The first time dma_chan_get() is called for a channel the channel client_count is incorrectly incremented twice for public ch…

  • High 7.8

    mm/khugepaged: fix ->anon_vma race

    In the Linux kernel, the following vulnerability has been resolved: mm/khugepaged: fix ->anon_vma race If an ->anon_vma is attached to the VMA, collapse_and_free_pmd() requires it to be locked. Page table traversal is allowed under any one of the mmap lock, t…

  • High 7.8

    drm/i915: Avoid potential vm use-after-free

    In the Linux kernel, the following vulnerability has been resolved: drm/i915: Avoid potential vm use-after-free Adding the vm to the vm_xa table makes it visible to userspace, which could try to race with us to close the vm. So we need to take our extra refer…

  • High 7.8

    ovl: fix UAF in ovl_dentry_update_reval by moving dput() in ovl_link_up

    In the Linux kernel, the following vulnerability has been resolved: ovl: fix UAF in ovl_dentry_update_reval by moving dput() in ovl_link_up The issue was caused by dput(upper) being called before ovl_dentry_update_reval(), while upper->d_flags was still acces…

  • High 7.8

    btrfs: fix use-after-free on inode when scanning root during em shrinking

    In the Linux kernel, the following vulnerability has been resolved: btrfs: fix use-after-free on inode when scanning root during em shrinking At btrfs_scan_root() we are accessing the inode's root (and fs_info) in a call to btrfs_fs_closing() after we have sc…

  • High 7.8

    bpf, test_run: Fix use-after-free issue in eth_skb_pkt_type()

    In the Linux kernel, the following vulnerability has been resolved: bpf, test_run: Fix use-after-free issue in eth_skb_pkt_type() KMSAN reported a use-after-free issue in eth_skb_pkt_type()[1]. The cause of the issue was that eth_skb_pkt_type() accessed skb's…

  • High 8.1

    A use-after-free in Exim 4.96 through 4.98.1 could allow users (with command-line access) to escalate privileges.

  • High 7.8

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

    Luxion KeyShot USDC 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 i…

  • Medium —

    pared Vulnerable to Use After Free in `Parc` and `Prc` Due to Missing Lifetime Constraints

    Affected versions of this crate didn't provide sufficient lifetime constraints to conversion functions from `alloc::sync::Arc` and `alloc::rc::Rc`, which made it possible to create projections of these reference counted pointers. Unlike the original reference…

  • High 7.8

    GPU DDK - _WrapExtMemReleasePages called twice if _FlushUMVirtualRange fails

    Software installed and run as a non-privileged user may conduct improper GPU system calls to corrupt kernel heap memory.

  • High 8.8

    Use after free in Lens in Google Chrome prior to 134.0.6998.117 allowed a remote attacker to potentially exploit heap c…

  • High 7.8

    xsltGetInheritedNsList in libxslt before 1.1.43 has a use-after-free issue related to exclusion of result prefixes.

  • High 7.8

    numbers.c in libxslt before 1.1.43 has a use-after-free because, in nested XPath evaluations, an XPath context node can…

  • High 7.8

    3DM File Parsing Use-After-Free Vulnerability

    A maliciously crafted 3DM file, when parsed through Autodesk AutoCAD, can force a Use-After-Free vulnerability. A malicious actor can leverage this vulnerability to cause a crash, read sensitive data, or execute arbitrary code in the context of the current pr…

  • Medium 5.5

    mm/migrate_device: don't add folio to be freed to LRU in migrate_device_finalize()

    In the Linux kernel, the following vulnerability has been resolved: mm/migrate_device: don't add folio to be freed to LRU in migrate_device_finalize() If migration succeeded, we called folio_migrate_flags()->mem_cgroup_migrate() to migrate the memcg from the …

  • High 7.8

    geneve: Fix use-after-free in geneve_find_dev().

    In the Linux kernel, the following vulnerability has been resolved: geneve: Fix use-after-free in geneve_find_dev(). syzkaller reported a use-after-free in geneve_find_dev() [0] without repro. geneve_configure() links struct geneve_dev.next to net_generic(net…

  • High 7.8

    s390/ism: add release function for struct device

    In the Linux kernel, the following vulnerability has been resolved: s390/ism: add release function for struct device According to device_release() in /drivers/base/core.c, a device without a release function is a broken device and must be fixed. The current c…

  • High 8.6

    ibmvnic: Don't reference skb after sending to VIOS

    In the Linux kernel, the following vulnerability has been resolved: ibmvnic: Don't reference skb after sending to VIOS Previously, after successfully flushing the xmit buffer to VIOS, the tx_bytes stat was incremented by the length of the skb. It is invalid t…

  • Critical 9.8

    SoftEtherVPN 5.02.5187 is vulnerable to Use after Free in the Command.c file via the CheckNetworkAcceptThread function.…

  • High 7.8

    Ashlar-Vellum Cobalt CO File Parsing Use-After-Free Remote Code Execution Vulnerability

    Ashlar-Vellum Cobalt CO File Parsing Use-After-Free Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ashlar-Vellum Cobalt. User interaction is required to exploit this vulne…

  • High 7.8

    Substance3D - Modeler | Use After Free (CWE-416)

    Substance3D - Modeler versions 1.15.0 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 …

  • High 7.8

    Acrobat Reader | Use After Free (CWE-416)

    Acrobat Reader versions 24.001.30225, 20.005.30748, 25.001.20428 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 …

  • High 7.8

    Acrobat Reader | Use After Free (CWE-416)

    Acrobat Reader versions 24.001.30225, 20.005.30748, 25.001.20428 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 …

  • High 7.8

    Acrobat Reader | Use After Free (CWE-416)

    Acrobat Reader versions 24.001.30225, 20.005.30748, 25.001.20428 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 …

  • High 8.5

    Zoom Apps - Use After Free

    Use after free in some Zoom Workplace Apps may allow an authenticated user to conduct an escalation of privilege via network access.

  • High 7.8

    Microsoft Access Remote Code Execution Vulnerability

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

  • High 7.8

    Microsoft Office Remote Code Execution Vulnerability

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

  • High 7.0
    CVE-2025-24983 Exploited

    Windows Win32 Kernel Subsystem Elevation of Privilege Vulnerability

    Use after free in Windows Win32 Kernel Subsystem allows an authorized attacker to elevate privileges locally.

    KEV Mar 11, 2025
  • High 7.8

    Microsoft Local Security Authority (LSA) Server Elevation of Privilege Vulnerability

    Use after free in Microsoft Local Security Authority Server (lsasrv) allows an authorized attacker to elevate privileges locally.