Skip to content
OpenAdvisories

Weakness (CWE)

CWE-416: Use After Free

Variant

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.

How to prevent it (2 mitigations)
  1. Architecture and Design

    Choose a language that provides automatic memory management.

  2. Implementation

    When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

Source: MITRE CWE-416

914 results · Clear filters · Feed

  • Medium 5.3

    Mali GPU Kernel Driver allows access to already freed memory

    Use After Free vulnerability in 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 process to perform valid GPU memory processing operations to gain acces…

  • Medium 6.7

    In geniezone, there is a possible memory corruption due to use after free. This could lead to local escalation of privi…

  • Medium 5.5

    In hidd_check_config_done of hidd_conn.cc, there is a possible way to execute arbitrary code due to a use after free. T…

  • Medium 5.3

    PoDoFo PDF Dictionary PdfTokenizer.cpp DetermineDataType use after free

    A flaw has been found in PoDoFo 1.1.0-dev. This issue affects the function PdfTokenizer::DetermineDataType of the file src/podofo/main/PdfTokenizer.cpp of the component PDF Dictionary Parser. Executing manipulation can lead to use after free. It is possible t…

  • Medium 5.3

    appneta tcpreplay tcprewrite get.c get_l2len_protocol use after free

    A vulnerability has been found in appneta tcpreplay up to 4.5.1. The impacted element is the function get_l2len_protocol of the file get.c of the component tcprewrite. Such manipulation leads to use after free. The attack must be carried out locally. The expl…

  • Medium 5.3

    appneta tcpreplay tcprewrite edit_packet.c fix_ipv6_checksums use after free

    A flaw has been found in appneta tcpreplay up to 4.5.1. The affected element is the function fix_ipv6_checksums of the file edit_packet.c of the component tcprewrite. This manipulation causes use after free. The attack is restricted to local execution. The ex…

  • Medium 5.3

    appneta tcpreplay tcprewrite edit_packet.c untrunc_packet use after free

    A vulnerability was determined in appneta tcpreplay up to 4.5.2-beta2. The impacted element is the function untrunc_packet of the file src/tcpedit/edit_packet.c of the component tcprewrite. Executing manipulation can lead to use after free. It is possible to …

  • Medium 4.5

    PX4 PX4-Autopilot Mavlink Shell Closing mavlink_receiver.cpp handle_message_serial_control use after free

    A vulnerability was found in PX4 PX4-Autopilot up to 1.15.4. This issue affects the function MavlinkReceiver::handle_message_serial_control of the file src/modules/mavlink/mavlink_receiver.cpp of the component Mavlink Shell Closing Handler. The manipulation o…

  • Medium 5.5

    Animate | Use After Free (CWE-416)

    Animate versions 23.0.12, 24.0.9 and earlier are affected by a Use After Free vulnerability that could lead to disclosure of sensitive memory. Exploitation of this issue requires user interaction in that a victim must open a malicious file.

  • Medium 6.7

    Windows Graphics Component Elevation of Privilege Vulnerability

    Concurrent execution using shared resource with improper synchronization ('race condition') in Microsoft Graphics Component allows an authorized attacker to elevate privileges locally.

  • Medium 5.5

    Illustrator | Use After Free (CWE-416)

    Illustrator versions 28.7.8, 29.6.1 and earlier are affected by a Use After Free vulnerability that could lead to disclosure of sensitive memory. Exploitation of this issue requires user interaction in that a victim must open a malicious file.

  • Medium 6.9

    Vim heap use-after-free vulnerability when processing recursive tuple data types

    Vim is an open source, command line text editor. In versions from 9.1.1231 to before 9.1.1400, When processing nested tuples in Vim script, an error during evaluation can trigger a use-after-free in Vim’s internal tuple reference management. Specifically, the…

  • Medium 5.3

    NASM Netwide Assember preproc.c do_directive use after free

    A vulnerability has been found in NASM Netwide Assember 2.17rc0. Affected by this issue is the function do_directive of the file preproc.c. The manipulation leads to use after free. An attack has to be approached locally. The exploit has been disclosed to the…

  • Medium 5.3

    JasPer JPEG2000 File jpc_dec.c jpc_dec_dump use after free

    A vulnerability was identified in JasPer up to 4.2.5. This affects the function jpc_dec_dump of the file src/libjasper/jpc/jpc_dec.c of the component JPEG2000 File Handler. The manipulation leads to use after free. An attack has to be approached locally. The …

  • Medium 5.9

    Vulnerability of returning released pointers in the distributed notification service. Impact: Successful exploitation o…

  • Medium 4.4

    Pointer dangling vulnerability in the cjwindow module. Impact: Successful exploitation of this vulnerability may affect…

  • Medium 4.3

    Mali GPU Userspace Driver allows access to already freed memory

    Use After Free vulnerability in Arm Ltd Bifrost GPU Userspace Driver, Arm Ltd Valhall GPU Userspace Driver, Arm Ltd Arm 5th Gen GPU Architecture Userspace Driver allows a non-privileged user process to perform valid GPU processing operations, including via We…

  • Medium 6.5

    A use-after-free issue was addressed with improved memory management. This issue is fixed in Safari 18.6, iOS 18.6 and …

  • Medium 5.3

    LibTIFF tiffmedian.c get_histogram use after free

    A vulnerability was found in LibTIFF up to 4.7.0. It has been declared as critical. This vulnerability affects the function get_histogram of the file tools/tiffmedian.c. The manipulation leads to use after free. The attack needs to be approached locally. The …

  • Medium 6.5

    IBM MQ denial of service

    An IBM MQ 9.3 and 9.4 Client connecting to an MQ Queue Manager can cause a SIGSEGV in the AMQRMPPA channel process terminating it.

  • Medium 6.6

    Virtual address reuse issue in the memory management module, which can be exploited by non-privileged users to access r…

  • Medium 5.5

    Poppler Use After Free Vulnerability

    Poppler is a PDF rendering library. Versions prior to 25.06.0 use `std::atomic_int` for reference counting. Because `std::atomic_int` is only 32 bits, it is possible to overflow the reference count and trigger a use-after-free. Version 25.06.0 patches the iss…

  • Medium 5.1

    Use After Free vulnerability in Samsung Open Source rLottie allows Remote Code Inclusion.This issue affects rLottie: V0…

  • Medium 5.0

    Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server

    An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not have authorization to shut down a server. The crash is triggered on affected versions by issuing an aggregation…

  • Medium 5.4

    Use after free in Animation in Google Chrome prior to 138.0.7204.49 allowed a remote attacker to potentially exploit he…

  • Medium 5.5

    jq heap use after free vulnerability in f_strflocaltime

    jq is a command-line JSON processor. In version 1.8.0 a heap use after free vulnerability exists within the function f_strflocaltime of /src/builtin.c. This issue has been patched in commit 499c91b, no known fix version exists at time of publication.

  • Medium 5.7

    Possible kernel exceptions caused by reading and writing kernel heap data after free.

  • Medium 5.3

    Open Asset Import Library Assimp BVHLoader.cpp ReadNodeChannels use after free

    A vulnerability classified as critical has been found in Open Asset Import Library Assimp up to 5.4.3. Affected is the function Assimp::BVHLoader::ReadNodeChannels in the library assimp/code/AssetLib/BVH/BVHLoader.cpp. The manipulation of the argument pNode l…

  • Medium 5.5

    InDesign Desktop | Use After Free (CWE-416)

    InDesign Desktop versions ID20.2, ID19.5.3 and earlier are affected by a Use After Free vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Exploitation of this iss…

  • Medium 6.5

    An issue was discovered in Samsung Mobile Processor Exynos 2200, 1480, and 2400. A Use-After-Free in the mobile process…

  • Medium 6.5

    An issue was discovered in Samsung Mobile Processor Exynos 1380. A Use-After-Free in the mobile processor leads to priv…

  • Medium 6.6

    Use After Free in Computer Vision

    Memory corruption while processing IOCTL command to handle buffers associated with a session.

  • Medium 6.5

    An issue was discovered in Samsung Mobile Processor Exynos 2200. A Use-After-Free in the mobile processor leads to priv…

  • Medium 5.4

    Use after free in libvpx in Google Chrome prior to 137.0.7151.55 allowed a remote attacker to potentially exploit heap …

  • Medium 5.9

    Use-after-free in "unicode_escape" decoder with error handler

    There is an issue in CPython when using `bytes.decode("unicode_escape", error="ignore|replace")`. If you are not using the "unicode_escape" encoding or an error handler your usage is not affected. To work-around this issue you may stop using the error= handle…

  • Medium 6.1

    Use after free for some Intel(R) PROSet/Wireless WiFi Software for Windows before version 23.100 may allow an unauthent…

  • Medium 4.3

    A use-after-free issue was addressed with improved memory management. This issue is fixed in iOS 18.5 and iPadOS 18.5, …

  • Medium 6.2

    Pixmeo OsiriX MD Use After Free

    Pixmeo OsiriX MD is vulnerable to a local use after free scenario, which could allow an attacker to locally import a crafted DICOM file and cause memory corruption or a system crash.

  • Medium 6.6

    Use After Free in Secure Processor

    Memory corruption while handling multiple IOCTL calls from userspace to operate DMA operations.

  • Medium 6.6

    Use After Free in HLOS

    Memory corruption during concurrent access to server info object due to unprotected critical field.