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,546 results · Feed

  • High 8.8

    An exploitable use-after-free vulnerability exists in the JavaScript engine of Foxit Software's Foxit PDF Reader, versi…

  • High 7.1

    Junos OS and Junos OS Evolved: A vulnerability in JDHCPD allows an attacker to send crafted IPv4 packets may take over the code execution of the JDHCPD process.

    When a device using Juniper Network's Dynamic Host Configuration Protocol Daemon (JDHCPD) process on Junos OS or Junos OS Evolved which is configured in relay mode it vulnerable to an attacker sending crafted IPv4 packets who may remotely take over the code e…

  • High 7.8
    CVE-2019-8605 Exploited Public exploit EPSS 18%

    A use after free issue was addressed with improved memory management. This issue is fixed in iOS 12.3, macOS Mojave 10.…

    KEV Jun 27, 2022
  • High 7.8
    CVE-2019-8526 Exploited

    A use after free issue was addressed with improved memory management. This issue is fixed in macOS Mojave 10.14.4. An a…

    KEV Apr 17, 2023
  • Unscored —

    ELOG 3.1.4-57bea22 and below is affected by a denial of service vulnerability due to a use after free. A remote unauthe…

  • Unscored —

    In the course of decompressing HPACK inside the HTTP2 protocol, an unexpected sequence of header table resize operation…

  • Critical 9.8
    CVE-2019-5096 Public exploit EPSS 67%

    An exploitable code execution vulnerability exists in the processing of multi-part/form-data requests within the base G…

  • High 8.8
    CVE-2019-13720 Exploited Public exploit EPSS 49%

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

    KEV May 23, 2022
  • High 8.8

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

  • High 7.5
    CVE-2019-1429 Exploited Public exploit EPSS 77%

    A remote code execution vulnerability exists in the way that the scripting engine handles objects in memory in Internet…

    KEV Nov 3, 2021
  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.6.…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.6.…

  • Low 3.3

    This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit Phantom…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.6.…

  • High 7.5

    Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability

    In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written …

  • High 7.8
    CVE-2019-2215 Exploited Public exploit EPSS 72%

    A use-after-free in binder.c allows an elevation of privilege from an application to the Linux Kernel. No user interact…

    KEV Nov 3, 2021
  • High 7.5

    An exploitable Use After Free vulnerability exists in the CharProcs parsing functionality of NitroPDF. A specially craf…

  • High 7.5

    An exploitable use-after-free vulnerability exists in the Length parsing function of NitroPDF. A specially crafted PDF …

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 9.5.0.20…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 9.4.1.16…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.5.…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 9.5.0.20…

  • High 7.8

    This vulnerability allows remote atackers to execute arbitrary code on affected installations of Foxit Reader 9.5.0.207…

  • High 7.8

    This vulnerability allows remote atackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.5.0…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 9.5.0.20…

  • High 7.8

    This vulnerability allows remote atackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.5.0…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 9.5.0.20…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 9.5.0.20…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 9.5.0.20…

  • High 7.8

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 9.6.0.25…

  • High 7.5

    Use after free in string-interner

    An issue was discovered in the string-interner crate before 0.7.1 for Rust. It allows attackers to read from memory locations associated with dangling pointers, because of a cloning flaw.

  • Critical 9.8

    Use after free in portaudio-rs

    An issue was discovered in the portaudio-rs crate through 0.3.1 for Rust. There is a use-after-free with resultant arbitrary code execution because of a lack of unwind safety in stream_callback and stream_finished_callback.

  • High 7.8

    Red Lion Controls Crimson, version 3.0 and prior and version 3.1 prior to release 3112.00, allow multiple vulnerabiliti…

  • Unscored —

    If an MQTT v5 client connects to Eclipse Mosquitto versions 1.6.0 to 1.6.4 inclusive, sets a last will and testament, s…

  • High 8.8

    An exploitable Use-After-Free vulnerability exists in the way FunctionType 0 PDF elements are processed in Aspose.PDF 1…

  • Critical 9.8

    An uninitialized memory access vulnerability exists in the way Aspose.PDF 19.2 for C++ handles invalid parent object po…

  • Critical 9.8

    An exploitable use-after-free vulnerability exists in the way LZW-compressed streams are processed in Aspose.PDF 19.2 f…

  • Critical 9.8

    Use after free in image

    An issue was discovered in the image crate before 0.21.3 for Rust, affecting the HDR image format decoder. Vec::set_len is called on an uninitialized vector, leading to a use-after-free and arbitrary code execution.

  • Critical 9.8

    Use-after-free in chttp

    An issue was discovered in the chttp crate before 0.1.3 for Rust. There is a use-after-free during buffer conversion.

  • Unscored —

    The shell DNS command can cause unpredictable results due to misuse of stack variables.

    Use After Free vulnerability in the Zephyr shell allows a serial or telnet connected user to cause denial of service, and possibly remote code execution. This issue affects: Zephyr shell versions prior to 1.14.0 on all.