cve.bz

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

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-21803linux kernelEPSS 0.5%

    Use After Free vulnerability in Linux Linux kernel kernel on Linux, x86, ARM (bluetooth modules) allows Local Execution of Code. This vulnerability is associated with program files https://gitee.Com/anolis/cloud-kernel/blob/devel-5.10/net/…

  2. 8.3CVE-2024-21385microsoft edge chromiumEPSS 1.0%

    Microsoft Edge (Chromium-based) Elevation of Privilege Vulnerability

  3. 9.6CVE-2024-21326microsoft edge chromiumEPSS 1.2%

    Microsoft Edge (Chromium-based) Elevation of Privilege Vulnerability

  4. 8.8CVE-2024-0813EPSS 0.4%

    Use after free in Reading Mode in Google Chrome prior to 121.0.6167.85 allowed an attacker who convinced a user to install a malicious extension to potentially exploit heap corruption via specific UI interaction. (Chromium security severit…

  5. 8.8CVE-2024-0807EPSS 0.5%

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

  6. 8.8CVE-2024-0806EPSS 0.4%

    Use after free in Passwords in Google Chrome prior to 121.0.6167.85 allowed a remote attacker to potentially exploit heap corruption via specific UI interaction. (Chromium security severity: Medium)

  7. 6.5CVE-2024-0752mozilla firefoxEPSS 0.4%

    A use-after-free crash could have occurred on macOS if a Firefox update were being applied on a very busy system. This could have resulted in an exploitable crash. This vulnerability affects Firefox < 122.

  8. 6.5CVE-2024-0746EPSS 0.7%

    A Linux user opening the print preview dialog could have caused the browser to crash. This vulnerability affects Firefox < 122, Firefox ESR < 115.7, and Thunderbird < 115.7.

  9. 7.0CVE-2023-51043linux kernelEPSS 0.2%

    In the Linux kernel before 6.4.5, drivers/gpu/drm/drm_atomic.c has a use-after-free during a race condition between a nonblocking atomic commit and a driver unload.

  10. 7.8CVE-2023-51042linux kernelEPSS 0.3%

    In the Linux kernel before 6.4.12, amdgpu_cs_wait_all_fences in drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c has a fence use-after-free.

  11. 5.5CVE-2024-23848linux kernelEPSS 0.3%

    In the Linux kernel through 6.7.1, there is a use-after-free in cec_queue_msg_fh, related to drivers/media/cec/core/cec-adap.c and drivers/media/cec/core/cec-api.c.

  12. 7.1CVE-2024-0775EPSS 0.2%

    A use-after-free flaw was found in the __ext4_remount in fs/ext4/super.c in ext4 in the Linux kernel. This flaw allows a local user to cause an information leak problem while freeing the old quota file names before a potential failure, lea…

  13. 7.8CVE-2024-22956swftoolsEPSS 0.4%

    swftools 0.9.2 was discovered to contain a heap-use-after-free vulnerability via the function removeFromTo at swftools/src/swfc.c:838

  14. 7.8CVE-2024-22915swftoolsEPSS 0.4%

    A heap-use-after-free was found in SWFTools v0.9.2, in the function swf_DeleteTag at rfxswf.c:1193. It allows an attacker to cause code execution.

  15. 5.5CVE-2024-22914swftoolsEPSS 0.3%

    A heap-use-after-free was found in SWFTools v0.9.2, in the function input at lex.swf5.c:2620. It allows an attacker to cause denial of service.

  16. 7.8CVE-2024-22920swftoolsEPSS 0.3%

    swftools 0.9.2 was discovered to contain a heap-use-after-free via the function bufferWriteData in swftools/lib/action/compile.c.

  17. 4.4CVE-2023-48353google androidEPSS 0.08%

    In vsp driver, there is a possible use after free due to a logic error. This could lead to local denial of service with System execution privileges needed

  18. 7.4CVE-2024-20952EPSS 0.9%

    Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Security). Supported versions that are affected are Oracle Java SE: 8u391, 8u391-perf, 11.0.21, 17.0.9, 2…

  19. 7.8CVE-2024-0582linux kernelEPSS 13%

    A memory leak flaw was found in the Linux kernel’s io_uring functionality in how a user registers a buffer ring with IORING_REGISTER_PBUF_RING, mmap() it, and then frees it. This flaw allows a local user to crash or potentially escalate th…

  20. 5.5CVE-2024-0232EPSS 0.4%

    A heap use-after-free issue has been identified in SQLite in the jsonParseAddNodeArray() function in sqlite3.c. This flaw allows a local attacker to leverage a victim to pass specially crafted malicious input to the application, potentiall…

  21. 7.5CVE-2023-52115huawei harmonyosEPSS 0.4%

    The iaware module has a Use-After-Free (UAF) vulnerability. Successful exploitation of this vulnerability may affect the system functions.

  22. 7.8CVE-2024-0562EPSS 0.3%

    A use-after-free flaw was found in the Linux Kernel. When a disk is removed, bdi_unregister is called to stop further write-back and waits for associated delayed work to complete. However, wb_inode_writeback_end() may schedule bandwidth es…

  23. 9.8CVE-2023-37117live555EPSS 0.9%

    A heap-use-after-free vulnerability was found in live555 version 2023.05.10 while handling the SETUP.

  24. 7.0CVE-2023-51782EPSS 0.3%

    An issue was discovered in the Linux kernel before 6.6.8. rose_ioctl in net/rose/af_rose.c has a use-after-free because of a rose_accept race condition.

  25. 7.0CVE-2023-51781EPSS 0.3%

    An issue was discovered in the Linux kernel before 6.6.8. atalk_ioctl in net/appletalk/ddp.c has a use-after-free because of an atalk_recvmsg race condition.

  26. 7.0CVE-2023-51780EPSS 0.5%

    An issue was discovered in the Linux kernel before 6.6.8. do_vcc_ioctl in net/atm/ioctl.c has a use-after-free because of a vcc_recvmsg race condition.

  27. 7.8CVE-2023-42870appleEPSS 0.2%

    A use-after-free issue was addressed with improved memory management. This issue is fixed in macOS Sonoma 14, iOS 17 and iPadOS 17. An app may be able to execute arbitrary code with kernel privileges.

  28. 7.8CVE-2023-41974appleKEVEPSS 2.0%

    A use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 17 and iPadOS 17, iOS 15.8.7 and iPadOS 15.8.7. An app may be able to execute arbitrary code with kernel privileges.

  29. 9.8CVE-2023-40414appleEPSS 1.2%

    A use-after-free issue was addressed with improved memory management. This issue is fixed in watchOS 10, iOS 17 and iPadOS 17, tvOS 17, macOS Sonoma 14, Safari 17. Processing web content may lead to arbitrary code execution.

  30. 7.8CVE-2023-32378apple macosEPSS 0.2%

    A use-after-free issue was addressed with improved memory management. This issue is fixed in macOS Ventura 13.3, macOS Big Sur 11.7.5, macOS Monterey 12.6.4. An app may be able to execute arbitrary code with kernel privileges.

  31. 7.5CVE-2024-21307microsoftEPSS 2.0%

    Remote Desktop Client Remote Code Execution Vulnerability

  32. 7.8CVE-2024-20683microsoftEPSS 4.2%

    Win32k Elevation of Privilege Vulnerability

  33. 7.8CVE-2024-20681microsoftEPSS 0.7%

    Windows Subsystem for Linux Elevation of Privilege Vulnerability

  34. 6.6CVE-2024-20655microsoftEPSS 1.4%

    Microsoft Online Certificate Status Protocol (OCSP) Remote Code Execution Vulnerability

  35. 7.0CVE-2022-2602EPSS 1.4%

    io_uring UAF, Unix SCM garbage collection

  36. 7.8CVE-2022-2588EPSS 5.9%

    It was discovered that the cls_route filter implementation in the Linux kernel would not remove an old filter from the hashtable before freeing it if its handle had the value 0.

  37. 7.8CVE-2022-2586KEVEPSS 10%

    It was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a use-after-free once that table was deleted.

  38. 7.8CVE-2022-2585EPSS 1.3%

    It was discovered that when exec'ing from a non-leader thread, armed POSIX CPU timers would be left on a list but freed, leading to a use-after-free.

  39. 7.8CVE-2023-37578tonybybell gtkwaveEPSS 0.4%

    Multiple use-after-free vulnerabilities exist in the VCD get_vartoken realloc functionality of GTKWave 3.3.115. A specially crafted .vcd file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger the…

  40. 7.8CVE-2023-37577tonybybell gtkwaveEPSS 0.4%

    Multiple use-after-free vulnerabilities exist in the VCD get_vartoken realloc functionality of GTKWave 3.3.115. A specially crafted .vcd file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger the…

  41. 7.8CVE-2023-37576tonybybell gtkwaveEPSS 0.4%

    Multiple use-after-free vulnerabilities exist in the VCD get_vartoken realloc functionality of GTKWave 3.3.115. A specially crafted .vcd file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger the…

  42. 7.8CVE-2023-37575tonybybell gtkwaveEPSS 0.4%

    Multiple use-after-free vulnerabilities exist in the VCD get_vartoken realloc functionality of GTKWave 3.3.115. A specially crafted .vcd file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger the…

  43. 7.8CVE-2023-37574tonybybell gtkwaveEPSS 0.4%

    Multiple use-after-free vulnerabilities exist in the VCD get_vartoken realloc functionality of GTKWave 3.3.115. A specially crafted .vcd file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger the…

  44. 7.8CVE-2023-37573tonybybell gtkwaveEPSS 0.4%

    Multiple use-after-free vulnerabilities exist in the VCD get_vartoken realloc functionality of GTKWave 3.3.115. A specially crafted .vcd file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger the…

  45. 5.5CVE-2023-5091arm valhall gpu kernel driverEPSS 0.2%

    Use After Free vulnerability in Arm Ltd Valhall GPU Kernel Driver allows a local non-privileged user to make improper GPU processing operations to gain access to already freed memory. This issue affects Valhall GPU Kernel Driver: from r37p…

  46. 9.8CVE-2024-22088chendotjs lotos webserverEPSS 0.7%

    Lotos WebServer through 0.1.1 (commit 3eb36cc) has a use-after-free in buffer_avail() at buffer.h via a long URI, because realloc is mishandled.

  47. 7.0CVE-2023-6270EPSS 0.4%

    A flaw was found in the ATA over Ethernet (AoE) driver in the Linux kernel. The aoecmd_cfg_pkts() function improperly updates the refcnt on `struct net_device`, and a use-after-free can be triggered by racing between the free on the struct…

  48. 8.8CVE-2024-0225EPSS 1.0%

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

  49. 8.8CVE-2024-0224EPSS 1.0%

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

  50. 8.8CVE-2024-0222EPSS 1.1%

    Use after free in ANGLE in Google Chrome prior to 120.0.6099.199 allowed a remote attacker who had compromised the renderer process to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: High)