cve.bz

CWE-416: Use After Free, published in 2024, page 22

Filter

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.

What the weakness is: CWE-416 at MITRE. All weaknesses

Ask an AI about CWE-416

Show the promptExplain CWE-416: Use After Free and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/416.html and https://cve.bz/cve/cwe/416?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 8.1CVE-2024-2612mozillaEPSS 1.0%

    If an attacker could find a way to trigger a particular code path in `SafeRefPtr`, it could have triggered a crash or potentially be leveraged to achieve code execution. This vulnerability affects Firefox < 124, Firefox ESR < 115.9, and Th…

  2. 7.8CVE-2024-20752adobe bridgeEPSS 7.8%

    Bridge versions 13.0.5, 14.0.1 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 vict…

  3. 7.8CVE-2021-47131linux kernelEPSS 0.8%

    In the Linux kernel, the following vulnerability has been resolved: net/tls: Fix use-after-free after the TLS device goes down and up When a netdev with active TLS offload goes down, tls_device_down is called to stop the offload and tear…

  4. 7.8CVE-2021-47123linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: io_uring: fix ltout double free on completion race Always remove linked timeout on io_link_timeout_fn() from the master request link list, otherwise we may get use-after…

  5. 7.8CVE-2021-47118linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: pid: take a reference when initializing `cad_pid` During boot, kernel_init_freeable() initializes `cad_pid` to the init task's struct pid. Later on, we may change `cad_…

  6. 5.5CVE-2021-47113linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: btrfs: abort in rename_exchange if we fail to insert the second ref Error injection stress uncovered a problem where we'd leave a dangling inode ref if we failed during …

  7. 7.8CVE-2021-47111linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: xen-netback: take a reference to the RX task thread Do this in order to prevent the task from being freed if the thread returns (which can be triggered by the frontend) …

  8. 7.1CVE-2024-26630linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: mm: cachestat: fix folio read-after-free in cache walk In cachestat, we access the folio from the page cache's xarray to compute its page offset, and check for its dirty…

  9. 8.8CVE-2024-2400EPSS 0.7%

    Use after free in Performance Manager in Google Chrome prior to 122.0.6261.128 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: High)

  10. 7.8CVE-2024-23300apple garagebandEPSS 0.3%

    A use-after-free issue was addressed with improved memory management. This issue is fixed in GarageBand 10.4.11. Processing a maliciously crafted file may lead to unexpected app termination or arbitrary code execution.

  11. 7.8CVE-2024-26182microsoftEPSS 5.6%

    Windows Kernel Elevation of Privilege Vulnerability

  12. 7.3CVE-2024-21443microsoftEPSS 1.3%

    Windows Kernel Elevation of Privilege Vulnerability

  13. 7.0CVE-2024-21439microsoftEPSS 0.5%

    Windows Telephony Server Elevation of Privilege Vulnerability

  14. 7.8CVE-2024-21437microsoftEPSS 8.0%

    Windows Graphics Component Elevation of Privilege Vulnerability

  15. 7.8CVE-2024-21426microsoft sharepoint serverEPSS 3.9%

    Microsoft SharePoint Server Remote Code Execution Vulnerability

  16. 8.1CVE-2024-21407microsoftEPSS 16%

    Windows Hyper-V Remote Code Execution Vulnerability

  17. 9.8CVE-2024-21334microsoftEPSS 20%

    Open Management Infrastructure (OMI) Remote Code Execution Vulnerability

  18. 8.4CVE-2024-27213google androidEPSS 0.1%

    In BroadcastSystemMessage of servicemgr.cpp, there is a possible Remote Code Execution due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed…

  19. 8.4CVE-2024-27205google androidEPSS 0.09%

    there is a possible memory corruption due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

  20. 8.4CVE-2024-25985google androidEPSS 0.09%

    In bigo_unlocked_ioctl of bigo.c, there is a possible UAF due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

  21. 7.8CVE-2024-26619linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: riscv: Fix module loading free order Reverse order of kfree calls to resolve use-after-free error.

  22. 7.8CVE-2024-26616linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: btrfs: scrub: avoid use-after-free when chunk length is not 64K aligned [BUG] There is a bug report that, on a ext4-converted btrfs, scrub leads to various problems, inc…

  23. 7.8CVE-2023-52491linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: media: mtk-jpeg: Fix use after free bug due to error path handling in mtk_jpeg_dec_device_run In mtk_jpeg_probe, &jpeg->job_timeout_work is bound with mtk_jpeg_job_timeo…

  24. 9.1CVE-2024-27308EPSS 0.9%

    Mio is a Metal I/O library for Rust. When using named pipes on Windows, mio will under some circumstances return invalid tokens that correspond to named pipes that have already been deregistered from the mio registry. The impact of this vu…

  25. 8.8CVE-2024-2176EPSS 1.3%

    Use after free in FedCM in Google Chrome prior to 122.0.6261.111 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: High)

  26. 9.8CVE-2023-50716eprosima fast ddsEPSS 0.7%

    eProsima Fast DDS (formerly Fast RTPS) is a C++ implementation of the Data Distribution Service standard of the Object Management Group. Prior to versions 2.13.0, 2.12.2, 2.11.3, 2.10.3, and 2.6.7, an invalid DATA_FRAG Submessage causes a …

  27. 7.8CVE-2024-26625EPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: llc: call sock_orphan() at release time syzbot reported an interesting trace [1] caused by a stale sk->sk_wq pointer in a closed llc socket. In commit ff7b11aa481f ("ne…

  28. 7.8CVE-2023-52600linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: jfs: fix uaf in jfs_evict_inode When the execution of diMount(ipimap) fails, the object ipimap that has been released may be accessed in diFreeSpecial(). Asynchronous ip…

  29. 3.8CVE-2023-52584linux kernelEPSS 0.6%

    In the Linux kernel, the following vulnerability has been resolved: spmi: mediatek: Fix UAF on device remove The pmif driver data that contains the clocks is allocated along with spmi_controller. On device remove, spmi_controller will be…

  30. 6.7CVE-2024-22253vmwareEPSS 0.6%

    VMware ESXi, Workstation, and Fusion contain a use-after-free vulnerability in the UHCI USB controller. A malicious actor with local administrative privileges on a virtual machine may exploit this issue to execute code as the virtual machi…

  31. 6.7CVE-2024-22252vmwareEPSS 3.5%

    VMware ESXi, Workstation, and Fusion contain a use-after-free vulnerability in the XHCI USB controller. A malicious actor with local administrative privileges on a virtual machine may exploit this issue to execute code as the virtual machi…

  32. 7.1CVE-2024-27929sixlabors imagesharpEPSS 0.4%

    ImageSharp is a managed, cross-platform, 2D graphics library. A heap-use-after-free flaw was found in ImageSharp's InitializeImage() function of PngDecoderCore.cs file. This vulnerability is triggered when an attacker passes a specially cr…

  33. 5.5CVE-2024-26333swftoolsEPSS 0.3%

    swftools v0.9.2 was discovered to contain a segmentation violation via the function free_lines at swftools/lib/modules/swfshape.c.

  34. 6.4CVE-2024-20833samsung androidEPSS 0.1%

    Use after free vulnerability in pub_crypto_recv_msg prior to SMR Mar-2024 Release 1 due to race condition allows local attackers with system privilege to cause memory corruption.

  35. 7.8CVE-2021-47106linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix use-after-free in nft_set_catchall_destroy() We need to use list_for_each_entry_safe() iterator because we can not access @catchall after kfree…

  36. 7.8CVE-2021-47103linux kernelEPSS 1.0%

    In the Linux kernel, the following vulnerability has been resolved: inet: fully convert sk->sk_rx_dst to RCU rules syzbot reported various issues around early demux, one being included in this changelog [1] sk->sk_rx_dst is using RCU pr…

  37. 5.5CVE-2021-47100linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module Hi, When testing install and uninstall of ipmi_si.ko and ipmi_msghandler.ko, the system crashed. The lo…

  38. 7.0CVE-2021-47088linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: mm/damon/dbgfs: protect targets destructions with kdamond_lock DAMON debugfs interface iterates current monitoring targets in 'dbgfs_target_ids_read()' while holding the…

  39. 7.8CVE-2024-0155dell digital deliveryEPSS 0.2%

    Dell Digital Delivery, versions prior to 5.2.0.0, contain a Use After Free Vulnerability. A local low privileged attacker could potentially exploit this vulnerability, leading to application crash or execution of arbitrary code.

  40. 7.0CVE-2023-6241armEPSS 0.7%

    Use After Free vulnerability in Arm Ltd Midgard GPU Kernel Driver, 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 to exploit a sof…

  41. 9.8CVE-2023-43552qualcommEPSS 0.4%

    Memory corruption while processing MBSSID beacon containing several subelement IE.

  42. 7.8CVE-2023-43547qualcommEPSS 0.1%

    Memory corruption while invoking IOCTLs calls in Automotive Multimedia.

  43. 7.8CVE-2023-43546qualcommEPSS 0.1%

    Memory corruption while invoking HGSL IOCTL context create.

  44. 8.4CVE-2023-6143armEPSS 0.2%

    Use After Free vulnerability in Arm Ltd Midgard GPU Kernel Driver, 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 to exploit a sof…

  45. 7.8CVE-2024-26622linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: tomoyo: fix UAF write bug in tomoyo_write_control() Since tomoyo_write_control() updates head->write_buf when write() of long lines is requested, we need to fetch head->…

  46. 7.8CVE-2023-46708openatom openharmonyEPSS 0.2%

    in OpenHarmony v3.2.4 and prior versions allow a local attacker arbitrary code execution in any apps through use after free.

  47. 5.5CVE-2023-52576linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer() The code calling ima_free_kexec_buffer() runs long after the memblock allocator has already bee…

  48. 7.8CVE-2023-52572EPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: cifs: Fix UAF in cifs_demultiplex_thread() There is a UAF when xfstests on cifs: BUG: KASAN: use-after-free in smb2_is_network_name_deleted+0x27/0x160 Read of size …

  49. 5.5CVE-2023-52566linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential use after free in nilfs_gccache_submit_read_data() In nilfs_gccache_submit_read_data(), brelse(bh) is called to drop the reference count of bh when…

  50. 7.8CVE-2023-52530linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix potential key use-after-free When ieee80211_key_link() is called by ieee80211_gtk_rekey_add() but returns 0 due to KRACK protection (identical key re…