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

6,534 results · Feed

  • Critical 9.4

    Suricata before 8.0.7 has an Http2ThreadMultiBuf use-after-free when a transaction is inspected by rules that use http.…

  • Low 3.7

    Exim before 4.100.1, when certain non-default TLS settings are used with GnuTLS, has a use-after-free.

  • High 8.1

    Microsoft Edge (Chromium-based) Elevation of Privilege Vulnerability

    Use after free in Microsoft Edge (Chromium-based) allows an unauthorized attacker to elevate privileges locally.

  • Low 2.9

    ImageMagick before 7.1.2-31 Use After Free via ImagesToBlob

    ImageMagick before 7.1.2-31 and before 6.9.13-56 contains a use-after-free vulnerability in the ImagesToBlob method, caused by a pointer that is not updated correctly. Exploitation may result in a limited availability impact (e.g., a crash of the affected pro…

  • Critical 9.6

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

  • High 8.8

    Use after free in PDFium in Google Chrome prior to 153.0.8010.52 allowed a remote attacker to execute arbitrary code in…

  • Critical 9.6

    Use after free in Dawn in Google Chrome on on Android prior to 153.0.8010.52 allowed a remote attacker to potentially e…

  • Low 3.3

    GPAC Proto Link mpeg4_inline.c gf_inline_get_proto_lib use after free

    A security flaw has been discovered in GPAC 26.08-DEV. This affects the function gf_inline_get_proto_lib of the file src/compositor/mpeg4_inline.c of the component Proto Link Handler. The manipulation results in use after free. The attack requires a local app…

  • Low 3.3

    GPAC BIFS commands.c gf_sg_command_del use after free

    A vulnerability was identified in GPAC 26.08-DEV. The impacted element is the function gf_sg_command_del of the file src/scenegraph/commands.c of the component BIFS Handler. The manipulation leads to use after free. The attack needs to be performed locally. T…

  • Low 3.3

    GPAC MP4Box base_scenegraph.c gf_node_deactivate_ex use after free

    A vulnerability was determined in GPAC 26.08-DEV. The affected element is the function gf_node_deactivate_ex of the file src/scenegraph/base_scenegraph.c of the component MP4Box. Executing a manipulation can lead to use after free. The attack needs to be laun…

  • Medium 4.6

    Heap Use-After-Free in H5T__conv_f_f

    A heap-use-after-free vulnerability exists in H5T__conv_f_f() in src/H5Tconv.c in HDF5 before 1.14.2. When converting a compound datatype containing floating-point members during a dataset read, a temporary buffer allocated with calloc() is freed and subseque…

  • High 7.5

    Use-after-free in query_addnoqnameproof() via the DNS64 filter64 path

    On a resolver configured to use ``dns64``, if an applicable answer from the authoritative server is malformed in a specific way, the resolver `named` process will exit unexpectedly. This issue affects BIND 9 versions 9.11.0 through 9.18.50, 9.20.0 through 9.2…

  • Medium 5.9

    qpcache NOQNAME proof use-after-free crashes recursive resolver

    An attacker may be able to cause a `named` resolver to abort. The attack requires inducing the victim resolver to send multiple queries for a DNSSEC-signed zone hosted by an authoritative server under the control of the attacker. If the auth responds with a p…

  • Medium 5.9

    Use-after-free in DoH stream cleanup code path

    NLnet Labs Unbound 1.12.0 up to and including 1.26.0 has a use-after-free vulnerability when compiled for DNS-over-HTTPs support with '--with-libnghttp2'. During failure code paths (i.e., RPZ drop query, jostle due to heavy traffic), a dropped DoH stream brin…

  • Medium 6.5

    Use-after-free in DoQ stream output buffer on reset re-transmission

    NLnet Labs Unbound 1.22.0 up to and including 1.26.1, has a use-after-free vulnerability when compiled for DNS-over-QUIC support with '--with-libngtcp2'. Each DoQ stream owns an output buffer that holds the DNS response. ngtcp2's retransmission buffer keeps a…

  • High 8.8

    Microsoft Edge (Chromium-based) Elevation of Privilege Vulnerability

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

  • High 8.8

    Use after free in Input in Google Chrome prior to 153.0.8010.47 allowed a remote attacker to potentially execute arbitr…

  • High 8.8

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

  • High 8.8
    CVE-2026-91737 Public exploit

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

  • Critical 9.6

    Use after free in DigitalCredentials in Google Chrome prior to 153.0.8010.47 allowed a remote attacker leveraging socia…

  • Critical 9.6

    Use after free in Core in Google Chrome prior to 153.0.8010.47 allowed a remote attacker to execute arbitrary code outs…

  • Critical 9.6

    Use after free in Auth in Google Chrome prior to 153.0.8010.47 allowed a remote attacker to execute arbitrary code outs…

  • Critical 9.6

    Use after free in WebAppInstalls in Google Chrome prior to 153.0.8010.47 allowed a remote attacker to execute arbitrary…

  • High 8.8

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

  • Low 3.1

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

  • High 8.3

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

  • High 8.8

    Use after free in Internals in Google Chrome prior to 153.0.8010.47 allowed a remote attacker to potentially execute ar…

  • Critical 9.6

    Use after free in Workers in Google Chrome prior to 153.0.8010.47 allowed a remote attacker to potentially execute arbi…

  • Medium 6.7

    In multiple functions of arm-smmu-v3.c, there is a possible use-after-free due to a logic error in the code. This could…

  • High 7.0

    In multiple locations, there is a possible use-after-free due to a race condition. This could lead to local escalation …

  • Medium 6.4

    In multiple functions of bluetooth_cco.cc, there is a possible use-after-free due to a race condition. This could lead …

  • Medium 6.4

    In multiple locations, there is a possible use-after-free due to a race condition. This could lead to local escalation …

  • Critical 9.8

    In multiple locations, there is a possible use-after-free due to a logic error in the code. This could lead to remote e…

  • High 8.4

    In multiple locations, there is a possible use-after-free due to improper locking. This could lead to local escalation …

  • High 8.8

    In multiple locations, there is a possible use-after-free due to a race condition. This could lead to remote code execu…

  • Low 3.1

    FreeRDP before 3.31.0 Use-After-Free via smartcard worker

    FreeRDP before 3.31.0 contains a use-after-free vulnerability in the smartcard RDPDR device handler when worker thread creation fails after device registration. Attackers can trigger thread creation failure during channel setup to cause device pointer dealloc…

  • High 8.8

    Use-after-free in the Widget: Gtk component

    Use-after-free in the Widget: Gtk component. This vulnerability was fixed in Firefox 156, Firefox ESR 153.3, Thunderbird 156, and Thunderbird 153.3.

  • High 8.8

    Use-after-free in the Internationalization component

    Use-after-free in the Internationalization component. This vulnerability was fixed in Firefox 156, Firefox ESR 153.3, Thunderbird 156, and Thunderbird 153.3.

  • High 8.8

    Use-after-free in the Graphics component

    Use-after-free in the Graphics component. This vulnerability was fixed in Firefox 156, Firefox ESR 153.3, Thunderbird 156, and Thunderbird 153.3.

  • High 8.8

    Use-after-free in the Graphics: Text component

    Use-after-free in the Graphics: Text component. This vulnerability was fixed in Firefox 156, Firefox ESR 153.3, Thunderbird 156, and Thunderbird 153.3.