cve.bz

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

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. 7.8CVE-2024-31339google androidEPSS 0.1%

    In multiple functions of StatsService.cpp, 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 e…

  2. 7.8CVE-2024-23697google androidEPSS 0.1%

    In RGXCreateHWRTData_aux of rgxta3d.c, there is a possible arbitrary code execution due to a use after free. This could lead to local escalation of privilege in the kernel with no additional execution privileges needed. User interaction is…

  3. 7.8CVE-2024-23696google androidEPSS 0.1%

    In RGXCreateZSBufferKM of rgxta3d.c, there is a possible arbitrary code execution due to a use after free. This could lead to local escalation of privilege in the kernel with no additional execution privileges needed. User interaction is n…

  4. 7.8CVE-2024-38085microsoftEPSS 5.3%

    Windows Graphics Component Elevation of Privilege Vulnerability

  5. 7.5CVE-2024-38078microsoftEPSS 0.7%

    Xbox Wireless Adapter Remote Code Execution Vulnerability

  6. 7.8CVE-2024-38066microsoftEPSS 0.9%

    Windows Win32k Elevation of Privilege Vulnerability

  7. 7.8CVE-2024-38059microsoftEPSS 3.7%

    Win32k Elevation of Privilege Vulnerability

  8. 8.8CVE-2024-38053microsoftEPSS 1.1%

    Windows Layer-2 Bridge Network Driver Remote Code Execution Vulnerability

  9. 8.8CVE-2024-37320microsoftEPSS 1.6%

    SQL Server Native Client OLE DB Provider Remote Code Execution Vulnerability

  10. 8.1CVE-2024-35264microsoftEPSS 2.6%

    .NET and Visual Studio Remote Code Execution Vulnerability

  11. 8.8CVE-2024-21332microsoftEPSS 1.8%

    SQL Server Native Client OLE DB Provider Remote Code Execution Vulnerability

  12. 8.8CVE-2024-21308microsoftEPSS 1.6%

    SQL Server Native Client OLE DB Provider Remote Code Execution Vulnerability

  13. 8.8CVE-2024-21303microsoftEPSS 1.5%

    SQL Server Native Client OLE DB Provider Remote Code Execution Vulnerability

  14. 7.0CVE-2024-39486linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: drm/drm_file: Fix pid refcounting race <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de> filp->pid is sup…

  15. 9.8CVE-2024-37030openatom openharmonyEPSS 0.6%

    in OpenHarmony v4.0.0 and prior versions allow a remote attacker arbitrary code execution in pre-installed apps through use after free.

  16. 9.1CVE-2024-39305envoyproxy envoyEPSS 0.6%

    Envoy is a cloud-native, open source edge and service proxy. Prior to versions 1.30.4, 1.29.7, 1.28.5, and 1.27.7. Envoy references already freed memory when route hash policy is configured with cookie attributes. Note that this vulnerabil…

  17. 7.8CVE-2024-23380qualcommEPSS 0.2%

    Memory corruption while handling user packets during VBO bind operation.

  18. 7.8CVE-2024-23373qualcommEPSS 0.1%

    Memory corruption when IOMMU unmap operation fails, the DMA and anon buffers are getting released.

  19. 5.3CVE-2024-38375fastly js-compute-runtimeEPSS 0.3%

    @fastly/js-compute is a JavaScript SDK and runtime for building Fastly Compute applications. The implementation of several functions were determined to include a use-after-free bug. This bug could allow for unintended data loss if the resu…

  20. 7.8CVE-2024-39463linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: 9p: add missing locking around taking dentry fid list Fix a use-after-free on dentry's d_fsdata fid list when a thread looks up a fid through dentry while another thread…

  21. 5.5CVE-2024-38385linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: genirq/irqdesc: Prevent use-after-free in irq_find_at_or_after() irq_find_at_or_after() dereferences the interrupt descriptor which is returned by mt_find() while neithe…

  22. 7.8CVE-2024-37007autodeskEPSS 0.4%

    A maliciously crafted X_B and X_T file, when parsed in pskernel.DLL through Autodesk applications, can cause a use-after-free vulnerability. This vulnerability, along with other vulnerabilities, could lead to code execution in the current …

  23. 7.8CVE-2024-37004autodeskEPSS 0.4%

    A maliciously crafted SLDPRT file, when parsed in ASMKERN229A.dll through Autodesk applications, can cause a use-after-free vulnerability. This vulnerability, along with other vulnerabilities, could lead to code execution in the current pr…

  24. 7.8CVE-2024-23158autodeskEPSS 0.4%

    A maliciously crafted IGES file, when parsed in ASMImport229A.dll through Autodesk applications, can be used to cause a use-after-free vulnerability. A malicious actor can leverage this vulnerability to cause a crash or execute arbitrary c…

  25. 7.8CVE-2024-23142autodeskEPSS 0.4%

    A maliciously crafted CATPART, STP, and MODEL file, when parsed in atf_dwg_consumer.dll, rose_x64_vc15.dll and libodxdll through Autodesk applications, can cause a use-after-free vulnerability. This vulnerability, along with other vulnerab…

  26. 8.8CVE-2024-6293EPSS 0.6%

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

  27. 8.8CVE-2024-6292EPSS 0.6%

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

  28. 8.8CVE-2024-6291EPSS 0.7%

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

  29. 8.8CVE-2024-6290EPSS 0.6%

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

  30. 7.8CVE-2024-38630linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: watchdog: cpu5wdt.c: Fix use-after-free bug caused by cpu5wdt_trigger When the cpu5wdt module is removing, the origin code uses del_timer() to de-activate the timer. If …

  31. 7.8CVE-2024-38629linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Avoid unnecessary destruction of file_ida file_ida is allocated during cdev open and is freed accordingly during cdev release. This sequence is guarante…

  32. 7.8CVE-2022-48771linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Fix stale file descriptors on failed usercopy A failing usercopy of the fence_rep object will lead to a stale entry in the file descriptor table as put_unuse…

  33. 7.0CVE-2022-48759linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev struct rpmsg_ctrldev contains a struct cdev. The current code frees the rpmsg_ctrldev struct in rpmsg…

  34. 7.8CVE-2022-48754linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: phylib: fix potential use-after-free Commit bafbdd527d56 ("phylib: Add device reset GPIO support") added call to phy_device_reset(phydev) after the put_device() call in …

  35. 7.8CVE-2022-48742linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink() While looking at one unrelated syzbot bug, I found the replay logic in __rtnl_newlink() to potential…

  36. 7.8CVE-2022-48735linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: Fix UAF of leds class devs at unbinding The LED class devices that are created by HD-audio codec drivers are registered via devm_led_classdev_register() and a…

  37. 7.8CVE-2022-48733linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: btrfs: fix use-after-free after failure to create a snapshot At ioctl.c:create_snapshot(), we allocate a pending snapshot structure and then attach it to the transaction…

  38. 7.8CVE-2022-48726linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: RDMA/ucma: Protect mc during concurrent multicast leaves Partially revert the commit mentioned in the Fixes line to make sure that allocation and erasing multicast struc…

  39. 8.8CVE-2024-6103google chromeEPSS 0.6%

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

  40. 7.8CVE-2021-47616linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: RDMA: Fix use-after-free in rxe_queue_cleanup On error handling path in rxe_qp_from_init() qp->sq.queue is freed and then rxe_create_qp() will drop last reference to thi…

  41. 7.8CVE-2021-47614linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Fix a user-after-free in add_pble_prm When irdma_hmc_sd_one fails, 'chunk' is freed while its still on the PBLE info list. Add the chunk entry to the PBLE i…

  42. 7.8CVE-2021-47600linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: dm btree remove: fix use after free in rebalance_children() Move dm_tm_unlock() after dm_tm_dec().

  43. 7.8CVE-2021-47598linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: sch_cake: do not call cake_destroy() from cake_init() qdiscs are not supposed to call their own destroy() method from init(), because core stack already does that. syzb…

  44. 7.8CVE-2021-47596linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix use-after-free bug in hclgevf_send_mbx_msg Currently, the hns3_remove function firstly uninstall client instance, and then uninstall acceletion engine dev…

  45. 7.8CVE-2021-47576linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: scsi: scsi_debug: Sanity check block descriptor length in resp_mode_select() In resp_mode_select() sanity check the block descriptor len to avoid UAF. BUG: KASAN: use-a…

  46. 7.0CVE-2024-38612linux kernelEPSS 0.7%

    In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: fix invalid unregister error path The error path of seg6_init() is wrong in case CONFIG_IPV6_SEG6_LWTUNNEL is not defined. In that case if seg6_hmac_init() fai…

  47. 7.8CVE-2024-38610linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: drivers/virt/acrn: fix PFNMAP PTE checks in acrn_vm_ram_map() Patch series "mm: follow_pte() improvements and acrn follow_pte() fixes". Patch #1 fixes a bunch of issues…

  48. 7.8CVE-2024-38588EPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: ftrace: Fix possible use-after-free issue in ftrace_location() KASAN reports a bug: BUG: KASAN: use-after-free in ftrace_location+0x90/0x120 Read of size 8 at addr …

  49. 7.8CVE-2024-38583linux kernelEPSS 0.3%

    In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix use-after-free of timer for log writer thread Patch series "nilfs2: fix log writer related issues". This bug fix series covers three nilfs2 log writer-relat…

  50. 7.8CVE-2024-38581linux kernelEPSS 0.2%

    In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/mes: fix use-after-free issue Delete fence fallback timer to fix the ramdom use-after-free issue. v2: move to amdgpu_mes.c