cve.bz

CWE-416: Use After Free, published in 2022, page 14

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. 4.4CVE-2022-20035google androidEPSS 0.1%

    In vcu driver, there is a possible information disclosure due to a use after free. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALPS061…

  2. 7.8CVE-2022-20031google androidEPSS 0.1%

    In fb driver, 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. Patch ID: ALPS05…

  3. 7.8CVE-2022-0523EPSS 1.1%

    Use After Free in GitHub repository radareorg/radare2 prior to 5.6.2.

  4. 7.8CVE-2022-0520EPSS 1.1%

    Use After Free in NPM radare2.js prior to 5.6.2.

  5. 9.8CVE-2022-0139radare radare2EPSS 1.2%

    Use After Free in GitHub repository radareorg/radare2 prior to 5.6.0.

  6. 6.5CVE-2022-23584google tensorflowEPSS 0.7%

    Tensorflow is an Open Source Machine Learning Framework. A malicious user can cause a use after free behavior when decoding PNG images. After `png::CommonFreeDecode(&decode)` gets called, the values of `decode.width` and `decode.height` ar…

  7. 5.5CVE-2022-0487EPSS 0.4%

    A use-after-free vulnerability was found in rtsx_usb_ms_drv_remove in drivers/memstick/host/rtsx_usb_ms.c in memstick in the Linux kernel. In this flaw, a local attacker with a user privilege may impact system Confidentiality. This flaw af…

  8. 8.8CVE-2021-4154EPSS 1.2%

    A use-after-free flaw was found in cgroup1_parse_param in kernel/cgroup/cgroup-v1.c in the Linux kernel's cgroup v1 parser. A local attacker with a user privilege could cause a privilege escalation by exploiting the fsconfig syscall parame…

  9. 8.8CVE-2021-40420foxit pdf readerEPSS 4.7%

    A use-after-free vulnerability exists in the JavaScript engine of Foxit Software’s PDF Reader, version 11.1.0.52543. A specially-crafted PDF document can trigger the reuse of previously freed memory, which can lead to arbitrary code execut…

  10. 7.8CVE-2022-0443EPSS 1.4%

    Use After Free in GitHub repository vim/vim prior to 8.2.

  11. 8.8CVE-2022-23597element desktopEPSS 1.5%

    Element Desktop is a Matrix client for desktop platforms with Element Web at its core. Element Desktop before 1.9.7 is vulnerable to a remote program execution bug with user interaction. The exploit is non-trivial and requires clicking on …

  12. 7.5CVE-2021-46669EPSS 2.4%

    MariaDB through 10.5.9 allows attackers to trigger a convert_const_to_int use-after-free when the BIGINT data type is used.

  13. 7.8CVE-2022-0413EPSS 1.4%

    Use After Free in GitHub repository vim/vim prior to 8.2.

  14. 7.8CVE-2022-24122EPSS 1.1%

    kernel/ucount.c in the Linux kernel 5.14 through 5.16.4, when unprivileged user namespaces are enabled, allows a use-after-free and privilege escalation because a ucounts object can outlive its namespace.

  15. 7.8CVE-2021-22808schneider-electric guiconEPSS 0.9%

    A CWE-416: Use After Free vulnerability exists that could cause arbitrary code execution when a malicious *.gd1 configuration file is loaded into the GUIcon tool. Affected Product: Eurotherm by Schneider Electric GUIcon Version 2.0 (Build …

  16. 7.8CVE-2021-46525cesanta mjsEPSS 0.8%

    Cesanta MJS v2.20.0 was discovered to contain a heap-use-after-free via mjs_apply at src/mjs_exec.c.

  17. 5.5CVE-2021-46503jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via /usr/lib/x86_64-linux-gnu/libasan.so.4+0x79732. This vulnerability can lead to a Denial of Service (DoS).

  18. 5.5CVE-2021-46502jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via /usr/lib/x86_64-linux-gnu/libasan.so.4+0x5166d. This vulnerability can lead to a Denial of Service (DoS).

  19. 5.5CVE-2021-46501jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via SortSubCmd in src/jsiArray.c. This vulnerability can lead to a Denial of Service (DoS).

  20. 5.5CVE-2021-46500jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via jsi_ArgTypeCheck in src/jsiFunc.c. This vulnerability can lead to a Denial of Service (DoS).

  21. 5.5CVE-2021-46499jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via jsi_ValueCopyMove in src/jsiValue.c. This vulnerability can lead to a Denial of Service (DoS).

  22. 5.5CVE-2021-46498jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via jsi_wswebsocketObjFree in src/jsiWebSocket.c. This vulnerability can lead to a Denial of Service (DoS).

  23. 5.5CVE-2021-46497jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via jsi_UserObjDelete in src/jsiUserObj.c. This vulnerability can lead to a Denial of Service (DoS).

  24. 5.5CVE-2021-46496jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via Jsi_ObjFree in src/jsiObj.c. This vulnerability can lead to a Denial of Service (DoS).

  25. 5.5CVE-2021-46495jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via DeleteTreeValue in src/jsiObj.c. This vulnerability can lead to a Denial of Service (DoS).

  26. 5.5CVE-2021-46494jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via jsi_ValueLookupBase in src/jsiValue.c. This vulnerability can lead to a Denial of Service (DoS).

  27. 5.5CVE-2021-46489jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via Jsi_DecrRefCount in src/jsiValue.c. This vulnerability can lead to a Denial of Service (DoS).

  28. 5.5CVE-2021-46484jsishEPSS 0.7%

    Jsish v3.5.0 was discovered to contain a heap-use-after-free via Jsi_IncrRefCount in src/jsiValue.c. This vulnerability can lead to a Denial of Service (DoS).

  29. 8.8CVE-2021-46242hdfgroup hdf5EPSS 1.3%

    HDF5 v1.13.1-1 was discovered to contain a heap-use-after free via the component H5AC_unpin_entry.

  30. 5.5CVE-2021-46239gpacEPSS 0.7%

    The binary MP4Box in GPAC v1.1.0 was discovered to contain an invalid free vulnerability via the function gf_free () at utils/alloc.c. This vulnerability can lead to a Denial of Service (DoS).

  31. 7.8CVE-2021-34403nvidia shield experienceEPSS 0.3%

    NVIDIA Linux distributions contain a vulnerability in nvmap ioctl, which allows any user with a local account to exploit a use-after-free condition, leading to code privilege escalation, loss of confidentiality and integrity, or denial of …

  32. 7.0CVE-2021-4083EPSS 0.3%

    A read-after-free memory flaw was found in the Linux kernel's garbage collection for Unix domain socket file handlers in the way users call close() and fget() simultaneously and can potentially trigger a race condition. This flaw allows a …

  33. 7.5CVE-2021-46170jerryscriptEPSS 1.2%

    An issue was discovered in JerryScript commit a6ab5e9. There is an Use-After-Free in lexer_compare_identifier_to_string in js-lexer.c file.

  34. 5.5CVE-2021-46169modex project modexEPSS 0.7%

    Modex v2.11 was discovered to contain an Use-After-Free vulnerability via the component tcache.

  35. 5.5CVE-2021-46022EPSS 1.0%

    An Use-After-Free vulnerability in rec_mset_elem_destroy() at rec-mset.c of GNU Recutils v1.8.90 can lead to a segmentation fault or application crash.

  36. 5.5CVE-2021-46021EPSS 1.0%

    An Use-After-Free vulnerability in rec_record_destroy() at rec-record.c of GNU Recutils v1.8.90 can lead to a segmentation fault or application crash.

  37. 7.8CVE-2021-45064adobeEPSS 11%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a use-after-free vulnerability in the processing of Format event actions that could result in arbitrary code ex…

  38. 5.5CVE-2021-45063adobeEPSS 6.1%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a use-after-free vulnerability in the processing of Format event actions that could lead to disclosure of sensi…

  39. 7.8CVE-2021-45062adobeEPSS 16%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a use-after-free vulnerability in the processing of Format event actions that could result in arbitrary code ex…

  40. 5.5CVE-2021-45051adobe bridgeEPSS 2.7%

    Adobe Bridge version 11.1.2 (and earlier) and version 12.0 (and earlier) are affected by an use-after-free vulnerability in the processing of Format event actions that could lead to disclosure of sensitive memory. An attacker could leverag…

  41. 5.5CVE-2021-44713adobeEPSS 2.7%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a use-after-free vulnerability in the processing of Format event actions that could result in application denia…

  42. 7.8CVE-2021-44710adobeEPSS 11%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a use-after-free vulnerability in the processing of Format event actions that could result in arbitrary code ex…

  43. 7.8CVE-2021-44706adobeEPSS 8.5%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a use-after-free vulnerability in the processing of Format event actions that could result in arbitrary code ex…

  44. 7.8CVE-2021-44705adobeEPSS 7.3%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a use-after-free vulnerability in the processing of Format event actions that could result in arbitrary code ex…

  45. 7.8CVE-2021-44704adobeEPSS 11%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a use-after-free vulnerability in the processing of Format event actions that could result in arbitrary code ex…

  46. 7.8CVE-2021-44701adobeEPSS 21%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a use-after-free vulnerability in the processing of Format event actions that could result in arbitrary code ex…

  47. 7.8CVE-2021-39681google androidEPSS 0.1%

    In delete_protocol of main.c, there is a possible arbitrary 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 for exploit…

  48. 7.0CVE-2021-39679google androidEPSS 0.09%

    In init of vendor_graphicbuffer_meta.cpp, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for explo…

  49. 7.8CVE-2021-39634google androidEPSS 0.3%

    In fs/eventpoll.c, there is a possible use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kerne…

  50. 7.0CVE-2021-39629google androidEPSS 0.10%

    In phTmlNfc_Init and phTmlNfc_CleanUp of phTmlNfc.cc, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not need…