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

913 results · Clear filters · Feed

  • Medium 5.9

    Use-after-free / double-free from unsynchronized concurrent access to the TLS client session cache in Zephyr sockets

    Zephyr's TLS socket layer in subsys/net/lib/sockets/sockets_tls.c keeps a single process-global array, client_cache, of cached client sessions that is shared by every TLS socket context. The functions that mutate and read it — tls_session_save(), tls_session_…

  • Medium 6.3

    GPAC MP4Box vrml_tools.c gf_sg_script_load use after free

    A vulnerability was found in GPAC up to f1219cde. The affected element is the function gf_sg_script_load of the file scenegraph/vrml_tools.c of the component MP4Box. Performing a manipulation results in use after free. It is possible to initiate the attack re…

  • Medium 5.4

    GPAC MP4Box base_scenegraph.c gf_node_get_name use after free

    A vulnerability has been found in GPAC up to f1219cde. Impacted is the function gf_node_get_name of the file scenegraph/base_scenegraph.c of the component MP4Box. Such manipulation leads to use after free. The attack may be performed from remote. The exploit …

  • Medium 6.3

    GPAC MP4Box base_scenegraph.c gf_node_unregister use after free

    A vulnerability was detected in GPAC up to f1219cde. This vulnerability affects the function gf_node_unregister of the file scenegraph/base_scenegraph.c of the component MP4Box. The manipulation results in use after free. The attack can be executed remotely. …

  • Medium 6.3

    GPAC MP4Box base_scenegraph.c gf_node_changed_internal use after free

    A vulnerability was determined in GPAC up to f1219cde. This vulnerability affects the function gf_node_changed_internal of the file scenegraph/base_scenegraph.c of the component MP4Box. This manipulation causes use after free. It is possible to initiate the a…

  • Medium 4.2

    An issue was discovered in DPU in Samsung Mobile Processor Exynos 1280, 2200, 1380, 1480, 2400, 1580, 2500, 1680, and 2…

  • Medium 5.3

    GPAC MP4Box list.c gf_list_count use after free

    A flaw has been found in GPAC up to f1219cde. Affected by this issue is the function gf_list_count of the file utils/list.c of the component MP4Box. Executing a manipulation can lead to use after free. The attack is restricted to local execution. The exploit …

  • Medium 5.9

    Suricata detect/transform: use-after-free in decompress transforms

    Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Starting in version 8.0.0 and prior to version 8.0.5, when certain detection transforms are chained, the decompress transform pipeline could …

  • Medium 5.9

    Suricata detect/transform: use-after-free in dotprefix transform

    Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to versions 7.0.16 and 8.0.5, Suricata's inspection-buffer helper could leave an inspection pointer referencing freed memory after a ch…

  • Medium 5.9

    Application denial of service via cancellation race in reactive client-side encryption in MongoDB Java Driver

    A use-after-free in the reactive client-side encryption component of the MongoDB Java Driver can cause native resources to be freed while an affected encrypted operation is still using them when the operation is cancelled. A party able to cause such an operat…

  • Medium 6.5

    A use-after-free in the SocketDescriptor::tcpReadHandler1 function (liveMedia/RTPInterface.cpp) of LIVE555 Streaming Me…

  • Medium 5.5

    Acrobat Reader | Use After Free (CWE-416)

    Acrobat Reader is affected by a Use After Free vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to disclose sensitive information. Exploitation of this issue requires user interaction in that a vic…

  • Medium 5.5

    Acrobat Reader | Use After Free (CWE-416)

    Acrobat Reader is affected by a Use After Free vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to disclose sensitive information. Exploitation of this issue requires user interaction in that a vic…

  • Medium 4.8

    Windows Overlay Filter Information Disclosure Vulnerability

    Use after free in Windows Overlay Filter allows an authorized attacker to disclose information over a network.

  • Medium 5.5

    Windows Network Connection Broker Information Disclosure Vulnerability

    Use after free in Windows Network Connection Broker allows an authorized attacker to disclose information locally.

  • Medium 5.5

    Microsoft Office Word Information Disclosure Vulnerability

    Use after free in Microsoft Office Word allows an authorized attacker to disclose information locally.

  • Medium 5.9

    Windows DNS Server Denial of Service Vulnerability

    Use after free in Windows DNS allows an unauthorized attacker to deny service over a network.

  • Medium 6.4

    Windows Management Instrumentation Elevation of Privilege Vulnerability

    Concurrent execution using shared resource with improper synchronization ('race condition') in Windows Management Instrumentation allows an authorized attacker to elevate privileges locally.

  • Medium 5.3

    Use-After-Free in MongoDB Server Cursor Management Component Leads to Denial of Service

    A use-after-free security issue in the cursor management component of MongoDB Server allows an authenticated user to cause a denial of service. Under specific timing conditions during cursor operations, a stale pointer to a freed resource may be retained and …

  • Medium 5.3

    Race Condition in MongoDB Server Text Index Query Parsing Leads to Heap Use-After-Free and Denial of Service

    A race condition in MongoDB server's text index query parsing can cause a heap use-after-free read when handling upsert retry paths. Under certain concurrent index lifecycle operations, a raw pointer to internal text index metadata may be dereferenced after t…

  • Medium 5.1

    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 access alr…

  • Medium 4.0

    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 access alr…

  • Medium 5.1

    Mali GPU Userspace Driver allows access to already freed memory

    Use After Free vulnerability in 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 WebGL or WebGPU, to access already freed…

  • Medium 4.4

    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 access alr…

  • Medium 6.8

    A use-after-free vulnerability in the OpenVPN ovpn-dco-win driver version 2.5.0 through 2.8.6 allows local authenticate…

  • Medium 6.7

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

  • Medium 5.0

    In gpu, there is a possible system crash due to use after free. This could lead to local information disclosure with Us…

  • Medium 6.7

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

  • Medium 6.7

    In Audio HAL, there is a possible escalation of privilege due to use after free. This could lead to local escalation of…

  • Medium 6.7

    In Audio HAL, there is a possible escalation of privilege due to use after free. This could lead to local escalation of…

  • Medium 5.9

    PX4 Autopilot through 1.17.0 Use-After-Free via Temperature Calibration Task Startup

    PX4 Autopilot through 1.17.0 contains a use-after-free vulnerability in TemperatureCalibration::start() due to a race condition between task spawning and object deletion. Attackers can trigger the calibration process via shell commands to write to freed heap …

  • Medium 5.4

    Use-after-free in the DOM: Core & HTML component

    Use-after-free in the DOM: Core & HTML component. This vulnerability was fixed in Firefox 155, Firefox ESR 153.2, Thunderbird 155, and Thunderbird 153.2.

  • Medium 5.4

    Use-after-free in the DOM: Core & HTML component

    Use-after-free in the DOM: Core & HTML component. This vulnerability was fixed in Firefox 155, Firefox ESR 140.15, Firefox ESR 153.2, Thunderbird 155, Thunderbird 140.15, and Thunderbird 153.2.

  • Medium 5.4

    Use-after-free in the Audio/Video component

    Use-after-free in the Audio/Video component. This vulnerability was fixed in Firefox 155, Firefox ESR 140.15, Firefox ESR 153.2, Thunderbird 155, Thunderbird 140.15, and Thunderbird 153.2.

  • Medium 5.4
    CVE-2026-84118 Public exploit

    Use-after-free in the JavaScript: GC component

    Use-after-free in the JavaScript: GC component. This vulnerability was fixed in Firefox 155, Firefox ESR 153.2, Thunderbird 155, and Thunderbird 153.2.

  • Medium 5.4

    Use-after-free in the Audio/Video component

    Use-after-free in the Audio/Video component. This vulnerability was fixed in Firefox 155, Firefox ESR 115.40, Firefox ESR 140.15, Firefox ESR 153.2, Thunderbird 155, Thunderbird 140.15, and Thunderbird 153.2.

  • Medium 6.4

    SiWx91x WiFi driver double-unref / use-after-free of caller-owned TX net_pkt

    The Silicon Labs SiWx917 WiFi driver's transmit callback siwx91x_send() in drivers/wifi/siwx91x/siwx91x_wifi.c frees a network packet it does not own. In the Zephyr TX path the net_pkt is owned by the L2/networking stack; the driver only borrows it to copy th…

  • Medium 5.3

    open62541 History Backend ua_history_data_backend_memory.c UA_DataValue_backend_copyRange use after free

    A vulnerability was detected in open62541 up to 1.5.5. Affected by this vulnerability is the function UA_DataValue_backend_copyRange of the file plugins/historydata/ua_history_data_backend_memory.c of the component History Backend. The manipulation results in…

  • Medium 4.3

    Systerel S2OPC subscription_mgr.c use after free

    A vulnerability was identified in Systerel S2OPC up to 1.7.3. The impacted element is the function monitored_item_event_filter_treatment_bs__init_event_filter_ctx_and_result of the file src/ClientServer/services/bgenc/subscription_mgr.c. Such manipulation of …

  • Medium 4.3

    Microsoft Edge (Chromium-based) Remote Code Execution Vulnerability

    Use after free in Microsoft Edge (Chromium-based) allows an unauthorized attacker to execute code over a network.