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

4,663 results · Clear filters · Feed

  • High 7.8

    drm/xe: Hold a dma-buf reference for imported BOs

    In the Linux kernel, the following vulnerability has been resolved: drm/xe: Hold a dma-buf reference for imported BOs An imported dma-buf BO is created as a ttm_bo_type_sg BO whose reservation object is the exporter's dma_buf->resv. The importer, however, onl…

  • High 7.8

    ALSA: seq: close a re-opened queue timer in the destructor

    In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: close a re-opened queue timer in the destructor queue_delete() closes the queue timer, then frees it. snd_seq_timer_close() clears q->timer->timeri. snd_use_lock_sync() then drains…

  • High 7.8

    ALSA: timer: drain a slave's callback before its master detaches it

    In the Linux kernel, the following vulnerability has been resolved: ALSA: timer: drain a slave's callback before its master detaches it snd_timer_close_locked() drains the closing instance's own in-flight callback (IFLG_CALLBACK) before freeing it, but not it…

  • High 8.8

    wifi: ath6kl: fix use-after-free in aggr_reset_state()

    In the Linux kernel, the following vulnerability has been resolved: wifi: ath6kl: fix use-after-free in aggr_reset_state() The aggr_reset_state() function uses timer_delete() (non-synchronous) for the aggregation timer before proceeding to delete TID state an…

  • High 7.8

    misc: nsm: pin the module while the device is open

    In the Linux kernel, the following vulnerability has been resolved: misc: nsm: pin the module while the device is open misc_open() installs a misc driver's file operations with fops_get(), which pins file_operations::owner before replacing the file's f_op. Th…

  • High 7.8

    sctp: avoid auth_enable sysctl UAF during netns teardown

    In the Linux kernel, the following vulnerability has been resolved: sctp: avoid auth_enable sysctl UAF during netns teardown proc_sctp_do_auth() updates the SCTP control socket after changing net.sctp.auth_enable. The handler gets the per-net SCTP state from …

  • High 7.8

    libceph: remove debugfs files before client teardown

    In the Linux kernel, the following vulnerability has been resolved: libceph: remove debugfs files before client teardown ceph_destroy_client() tears down the monitor client before removing the per-client debugfs files. A concurrent read of the monmap debugfs …

  • High 7.8

    fscrypt: Add missing superblock check in find_or_insert_direct_key()

    In the Linux kernel, the following vulnerability has been resolved: fscrypt: Add missing superblock check in find_or_insert_direct_key() The legacy 'fscrypt_direct_keys' table caches master keys that are used by v1 encryption policies that have FSCRYPT_POLICY…

  • High 8.8

    net/iucv: fix use-after-free of a severed iucv_path

    In the Linux kernel, the following vulnerability has been resolved: net/iucv: fix use-after-free of a severed iucv_path af_iucv queues not-yet-received message notifications on iucv->message_q, each holding a raw pointer to the connection's iucv_path. When th…

  • High 7.8
    CVE-2026-68121 Public exploit

    pppoe: reload header pointer after dev_hard_header()

    In the Linux kernel, the following vulnerability has been resolved: pppoe: reload header pointer after dev_hard_header() pppoe_sendmsg() saves a pointer to the PPPoE header before calling dev_hard_header(). Device header callbacks are allowed to reallocate th…

  • High 7.8

    drm/amdgpu: invoke pm_genpd_remove() before freeing genpd

    In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: invoke pm_genpd_remove() before freeing genpd Call pm_genpd_remove() to unregister from global list prior to releasing acp_genpd memory, and clear the pointer after free. (cherry …

  • High 8.7

    Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams

    Ruby JSON is a JSON implementation for Ruby. From 2.20.0 until 2.21.2, Ruby's JSON native C extension clears the consumed JSON::ResumableParser input buffer but leaves state.start, state.cursor, and state.end pointing into released storage. When partial_value…

  • High 7.5

    Use after free in Skia in Google Chrome prior to 151.0.7922.109 allowed a remote attacker who had compromised the rende…

  • High 7.5

    Use after free in Extensions in Google Chrome prior to 151.0.7922.109 allowed an attacker who convinced a user to insta…

  • High 8.3

    Use after free in Media in Google Chrome on Windows prior to 151.0.7922.109 allowed a remote attacker who had compromis…

  • High 7.5

    Use after free in Views in Google Chrome prior to 151.0.7922.109 allowed a remote attacker who convinced a user to enga…

  • High 7.5

    Use after free in Views in Google Chrome on Windows prior to 151.0.7922.109 allowed a remote attacker who convinced a u…

  • High 8.3

    Use after free in Payments in Google Chrome prior to 151.0.7922.109 allowed a remote attacker who had compromised the r…

  • High 8.8

    Use after free in V8 in Google Chrome prior to 151.0.7922.109 allowed a remote attacker to execute arbitrary code insid…

  • High 8.3

    Use after free in Aura in Google Chrome on Linux prior to 151.0.7922.109 allowed a remote attacker who had compromised …

  • High 8.8

    Use after free in HTML in Google Chrome prior to 151.0.7922.109 allowed a remote attacker to potentially exploit heap c…

  • High 8.8

    Use after free in Translate in Google Chrome prior to 151.0.7922.109 allowed a remote attacker to execute arbitrary cod…

  • High 7.5

    Use after free in Views in Google Chrome prior to 151.0.7922.109 allowed a remote attacker who convinced a user to enga…

  • High 8.3

    Use after free in Resources in Google Chrome on Android prior to 151.0.7922.109 allowed a remote attacker who had compr…

  • High 8.3

    Use after free in GPU in Google Chrome prior to 151.0.7922.109 allowed a remote attacker who had compromised the render…

  • High 8.3

    Use after free in Views in Google Chrome prior to 151.0.7922.109 allowed a remote attacker who had compromised the rend…

  • High 8.3

    Use after free in Skia in Google Chrome on Android prior to 151.0.7922.109 allowed a remote attacker who had compromise…

  • High 8.3

    Use after free in WebGL in Google Chrome on Android prior to 151.0.7922.109 allowed a remote attacker who had compromis…

  • High 7.8

    PDF File Parsing Vulnerabilities in Certain Autodesk Desktop Products

    A maliciously crafted PDF file, when parsed through Autodesk Revit, can force a Use-After-Free vulnerability. A malicious actor can leverage this vulnerability to cause a crash, disclose sensitive data, or execute arbitrary code in the context of the current …

  • High 8.1

    llama.cpp b7492–b9060 Use-After-Free in Tokenization Endpoints

    llama.cpp builds b7492 through the latest b9060 contains a use-after-free vulnerability in llama-server affecting six tokenization endpoints (/tokenize, /detokenize, /infill, /apply-template, /rerank, and /anthropic/count_tokens) that bypass the task queue an…

  • High 8.1

    llama.cpp b7492–b9060 Use-After-Free RCE via llama-server

    llama.cpp builds b7492 through the latest b9060 contains a use-after-free vulnerability in the vocab pointer of llama-server when the --sleep-idle-seconds feature is enabled, allowing unauthenticated remote attackers to execute arbitrary code. Attackers can t…

  • High 8.8

    wifi: brcmfmac: drain bus_reset work on device removal

    In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: drain bus_reset work on device removal brcmf_fw_crashed() and the debugfs "reset" entry both schedule drvr->bus_reset, whose callback recovers drvr through container_of() and …

  • High 7.3

    Libkcapi: memory corruption via uncanceled aio requests on error in libkcapi's one-shot aio path

    Memory Corruption via Uncanceled AIO Requests on Error: libkcapi's one-shot AIO path can return an error before all submitted IOCBs are drained, allowing later kernel writes into caller-owned output buffers.

  • High 7.8

    RDMA/rxe: Fix a use-after-free problem in rxe_mmap

    In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix a use-after-free problem in rxe_mmap rxe_mmap() removes a rxe_mmap_info struct from the pending_mmaps list and releases pending_lock while the struct's kref is still at 1: list_…

  • High 7.8

    bpf: tcp: fix double sock release on batch realloc

    In the Linux kernel, the following vulnerability has been resolved: bpf: tcp: fix double sock release on batch realloc bpf_iter_tcp_batch() releases the current batch via bpf_iter_tcp_put_batch(), which drops the socket refs and rewrites each slot with the so…

  • High 7.8

    wifi: mac80211: tear down new links on vif update error path

    In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: tear down new links on vif update error path When ieee80211_vif_update_links() adds new links it allocates a link container for each and calls ieee80211_link_init() (which reg…

  • High 7.5

    In open62541 1.5.5, a server-side use-after-free exists in the local MonitoredItem callback path. The issue occurs when…

  • High 7.5
    CVE-2026-56848 Public exploit

    A flaw in Node.js HTTP/2 handling allows `nghttp2_session_mem_send()` to be called re-entrantly while `nghttp2_session_…

  • High 7.1

    Use-after-free in Bluetooth host ATT TX completion on disconnect mid-transfer

    The Bluetooth host ATT layer (subsys/bluetooth/host/att.c) associates each in-flight ATT TX buffer with its owning channel via the static tx_meta_data_storage[] array (data->att_chan = chan). When a buffer's last reference is dropped, its net-buf destroy call…

  • High 7.8
    CVE-2026-64563 Public exploit

    rhashtable: clear stale iter->p on table restart

    In the Linux kernel, the following vulnerability has been resolved: rhashtable: clear stale iter->p on table restart rhashtable_walk_start_check() has two restart paths when resuming a walk. When iter->walker.tbl is valid, it re-validates iter->p against the …