CWE-416: Use After Free, published in 2025, 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 prompt
Explain 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
- 7.8CVE-2024-57896linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: btrfs: flush delalloc workers queue before stopping cleaner kthread during unmount During the unmount path, at close_ctree(), we first stop the cleaner kthread, using kt…
- 7.8CVE-2024-57892linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix slab-use-after-free due to dangling pointer dqi_priv When mounting ocfs2 and then remounting it as read-only, a slab-use-after-free occurs after the user uses…
- 7.8CVE-2024-57887linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: drm: adv7511: Fix use-after-free in adv7533_attach_dsi() The host_node pointer was assigned and freed in adv7533_parse_dt(), and later, adv7533_attach_dsi() uses the sam…
- 7.8CVE-2024-57857linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Remove direct link to net_device Do not manage a per device direct link to net_device. Rely on associated ib_devices net_device management, not doubling the ef…
- 7.8CVE-2024-57801linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Skip restore TC rules for vport rep without loaded flag During driver unload, unregister_netdev is called after unloading vport rep. So, the mlx5e_rep_priv is…
- 7.8CVE-2024-57795linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Remove the direct link to net_device The similar patch in siw is in the link: https://git.kernel.org/rdma/rdma/c/16b87037b48889 This problem also occurred in …
- 7.8CVE-2025-21372microsoftEPSS 0.4%
Microsoft Brokering File System Elevation of Privilege Vulnerability
- 7.8CVE-2025-21366microsoftEPSS 1.1%
Microsoft Access Remote Code Execution Vulnerability
- 8.4CVE-2025-21362microsoftEPSS 0.9%
Microsoft Excel Remote Code Execution Vulnerability
- 7.8CVE-2025-21345microsoftEPSS 0.6%
Microsoft Office Visio Remote Code Execution Vulnerability
- 7.8CVE-2025-21335microsoftKEVEPSS 1.4%
Windows Hyper-V NT Kernel Integration VSP Elevation of Privilege Vulnerability
- 7.8CVE-2025-21334microsoftKEVEPSS 1.6%
Windows Hyper-V NT Kernel Integration VSP Elevation of Privilege Vulnerability
- 7.8CVE-2025-21315microsoftEPSS 0.7%
Microsoft Brokering File System Elevation of Privilege Vulnerability
- 9.8CVE-2025-21307microsoftEPSS 1.9%
Windows Reliable Multicast Transport Driver (RMCAST) Remote Code Execution Vulnerability
- 7.8CVE-2025-21304microsoftEPSS 0.6%
Microsoft DWM Core Library Elevation of Privilege Vulnerability
- 9.8CVE-2025-21298microsoftEPSS 74%
Windows OLE Remote Code Execution Vulnerability
- 8.1CVE-2025-21297microsoftEPSS 1.5%
Windows Remote Desktop Services Remote Code Execution Vulnerability
- 7.5CVE-2025-21296microsoftEPSS 0.8%
BranchCache Remote Code Execution Vulnerability
- 8.1CVE-2025-21295microsoftEPSS 1.6%
SPNEGO Extended Negotiation (NEGOEX) Security Mechanism Remote Code Execution Vulnerability
- 7.8CVE-2025-21281microsoftEPSS 0.6%
Microsoft COM for Windows Elevation of Privilege Vulnerability
- 8.1CVE-2025-21224microsoftEPSS 1.9%
Windows Line Printer Daemon (LPD) Service Remote Code Execution Vulnerability
- 5.5CVE-2024-57875linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: block: RCU protect disk->conv_zones_bitmap Ensure that a disk revalidation changing the conventional zones bitmap of a disk does not cause invalid memory references when…
- 7.8CVE-2024-57849linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: s390/cpum_sf: Handle CPU hotplug remove during sampling CPU hotplug remove handling triggers the following function call sequence: CPUHP_AP_PERF_S390_SF_ONLINE --> …
- 7.8CVE-2024-57798linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: drm/dp_mst: Ensure mst_primary pointer is valid in drm_dp_mst_handle_up_req() While receiving an MST up request message from one thread in drm_dp_mst_handle_up_req(), th…
- 7.8CVE-2024-50051linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: spi: mpc52xx: Add cancel_work_sync before module remove If we remove the module which will call mpc52xx_spi_remove it will free 'ms' through spi_unregister_controller. w…
- 7.8CVE-2024-41149linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: block: avoid to reuse `hctx` not removed from cpuhp callback list If the 'hctx' isn't removed from cpuhp callback list, we can't reuse it, otherwise use-after-free may b…
- 7.8CVE-2024-56772linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: kunit: string-stream: Fix a UAF bug in kunit_init_suite() In kunit_debugfs_create_suite(), if alloc_string_stream() fails in the kunit_suite_for_each_test_case() loop, t…
- 7.8CVE-2023-35685google androidEPSS 0.2%
In DevmemIntMapPages of devicemem_server.c, there is a possible physical page uaf due to a logic error in the code. This could lead to local escalation of privilege in the kernel with no additional execution privileges needed. User interac…
- 7.5CVE-2024-56434huaweiEPSS 0.2%
UAF vulnerability in the device node access module Impact: Successful exploitation of this vulnerability may cause service exceptions of the device.
- 4.0CVE-2025-0240mozillaEPSS 0.7%
Parsing a JavaScript module as JSON could, under some circumstances, cause cross-compartment access, which may result in a use-after-free. This vulnerability was fixed in Firefox 134, Firefox ESR 128.6, Thunderbird 134, and Thunderbird 128…
- 5.3CVE-2025-0238mozillaEPSS 0.8%
Assuming a controlled failed memory allocation, an attacker could have caused a use-after-free, leading to a potentially exploitable crash. This vulnerability was fixed in Firefox 134, Firefox ESR 128.6, Firefox ESR 115.19, Thunderbird 134…
- 5.5CVE-2024-54030openatom openharmonyEPSS 0.2%
in OpenHarmony v4.1.2 and prior versions allow a local attacker cause DOS through use after free.
- 9.8CVE-2024-46981EPSS 8.2%
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.…
- 7.8CVE-2024-56765linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries/vas: Add close() callback in vas_vm_ops struct The mapping VMA address is saved in VAS window struct when the paste address is mapped. This VMA address i…
- 7.8CVE-2024-56764linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: ublk: detach gendisk from ublk device if add_disk() fails Inside ublk_abort_requests(), gendisk is grabbed for aborting all inflight requests. And ublk_abort_requests() …
- 7.8CVE-2024-56759linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix use-after-free when COWing tree bock and tracing is enabled When a COWing a tree block, at btrfs_cow_block(), and we have the tracepoint trace_btrfs_cow_block…
- 7.8CVE-2024-45553qualcommEPSS 0.1%
Memory corruption can occur when process-specific maps are added to the global list. If a map is removed from the global list while another thread is using it for a process-specific task, issues may arise.
- 7.8CVE-2024-33059qualcommEPSS 0.1%
Memory corruption while processing frame command IOCTL calls.
- 7.8CVE-2024-33055qualcommEPSS 0.1%
Memory corruption while invoking IOCTL calls to unmap the DMA buffers.