What is CWE-415?
The product calls free() twice on the same memory address.
CWE-415 is a variant-level weakness in MITRE’s Common Weakness Enumeration, with a MITRE likelihood of exploit of High. Applicable platforms: Language: Memory-Unsafe; Language: C; Language: C++.
Source: MITRE CWE (CWE-415 definition, reproduced verbatim). Counts and linkage below are Threadlinqs data.
Consequences
- Integrity, Confidentiality, Availability — Modify Memory, Execute Unauthorized Code or Commands. When a program calls free() twice with the same argument, the program's memory management data structures may become corrupted, potentially leading to the reading or modification of unexpected memory addresses. This corruption can cause the program to crash or, in some circumstances, cause two later calls to malloc() to return the same pointer. If malloc() returns the same value twice and the program later gives the attacker control over the data that is written into this doubly-allocated…
Source: MITRE CWE, common consequences.
How CWE-415 is exploited in the wild
Threadlinqs maps 29 CVEs to CWE-415, published between 2024-05-14 and 2026-11-10. None of them is in the CISA KEV catalog yet. By CVSS v3 severity the set splits into 4 critical, 21 high, 4 medium. The highest EPSS score in the set is 49.7% (CVE-2026-23918), the modelled probability of exploitation in the next 30 days. 31 tracked threats reference CWE-415 directly or through a CVE it covers; the most recent is “Citrix NetScaler ADC and Gateway: 28 Vulnerabilities Patched (CTX697305), Including Critical CVE-2026-120868 in Default Configurations” (2026-11-13). Affected products concentrate in Microsoft (19), Fortinet (2), Linux (2), among 9 vendors in total.
Vulnerabilities (CVEs)
All 29 CVEs mapped to CWE-415, CISA KEV first, then by CVSS score.
- CVE-2026-89078 — CVSS 9.9 critical · EPSS 0.4% · published 2026-09-23
- CVE-2026-97749 — CVSS 9.8 critical · EPSS 1.1% · published 2026-10-13
- CVE-2026-77493 — CVSS 9.8 critical · EPSS 0.9% · published 2026-09-08
- CVE-2026-88218 — CVSS 9.8 critical · published 2026-11-10
- CVE-2026-23918 — CVSS 8.8 high · EPSS 49.7% · published 2026-05-04
- CVE-2026-118296 — CVSS 8.8 high · EPSS 1.0% · published 2026-11-10
- CVE-2026-77504 — CVSS 8.8 high · EPSS 0.8% · published 2026-09-08
- CVE-2026-119934 — CVSS 8.8 high · EPSS 0.7% · published 2026-11-10
- CVE-2026-97767 — CVSS 8.8 high · EPSS 0.6% · published 2026-10-13
- CVE-2026-117943 — CVSS 8.8 high · EPSS 0.1% · published 2026-10-27
- CVE-2026-118702 — CVSS 8.8 high · published 2026-11-10
- CVE-2026-85921 — CVSS 8.2 high · EPSS 0.2% · published 2026-09-14
- CVE-2026-55007 — CVSS 8.1 high · EPSS 0.7% · published 2026-09-08
- CVE-2026-62889 — CVSS 8.1 high · EPSS 0.7% · published 2026-08-11
- CVE-2026-88171 — CVSS 8.1 high · EPSS 0.6% · published 2026-10-13
- CVE-2026-119962 — CVSS 8.1 high · published 2026-11-10
- CVE-2026-119963 — CVSS 8.1 high · published 2026-11-10
- CVE-2026-119964 — CVSS 8.1 high · published 2026-11-10
- CVE-2026-55132 — CVSS 7.8 high · EPSS 0.5% · published 2026-07-14
- CVE-2026-81950 — CVSS 7.8 high · EPSS 0.4% · published 2026-09-08
- CVE-2026-43494 — CVSS 7.8 high · EPSS 0.4% · published 2026-05-21
- CVE-2026-64580 — CVSS 7.8 high · EPSS 0.1% · published 2026-08-05
- CVE-2026-119957 — CVSS 7.8 high · published 2026-11-10
- CVE-2026-47895 — CVSS 7.5 high · EPSS 0.4% · published 2026-08-22
- CVE-2026-119992 — CVSS 7 high · published 2026-11-10
- CVE-2023-44247 — CVSS 6.5 medium · EPSS 1.2% · published 2024-05-14
- CVE-2025-31235 — CVSS 6.5 medium · EPSS 0.2% · published 2025-05-12
- CVE-2023-45584 — CVSS 6.3 medium · EPSS 0.6% · published 2025-08-12
- CVE-2026-35188 — CVSS 5 medium · EPSS 0.2% · published 2026-06-09
Affected vendors
Threat activity
31 tracked threats cite CWE-415; the 25 most recent are listed.
- Citrix NetScaler ADC and Gateway: 28 Vulnerabilities Patched (CTX697305), Including Critical CVE-2026-120868 in Default ConfigurationsCRITICAL
- Multiple Windows Remote Desktop Client Vulnerabilities Allow Code Execution (CVE-2026-119934, CVE-2026-119858, CVE-2026-119390, CVE-2026-95964)HIGH
- Microsoft AI-Assisted Research Discloses 59 Linux Kernel Bug Reports (33 CVEs) Incl. 21-Year-Old cls_u32 Flaw CVE-2026-74544; Local Root LPE Exploits Confirmed for 8 CVEsHIGH
- ThreatsDay Roundup: Microsoft MDASH Linux Kernel Bugs (CVE-2026-64563), Falcon Browser Spyware, GSocket BackdoorsHIGH
- Microsoft Patch Tuesday November 2026: ~1,095 vulnerabilities, 64 critical, one exploited Outlook NTLM-leak spoofing zero-day (CVE-2026-124194)CRITICAL
- CVE-2026-119618: Critical Unauthenticated RCE via Race Condition in Apache HTTP Server mod_http2 assign_headers()CRITICAL
- Google Chrome XML Use-After-Free Zero-Day Exploited in the Wild (CVE-2026-125350)HIGH
- Microsoft November 2026 Patch Tuesday: Outlook Zero-Day CVE-2026-124194 Exploited to Steal NTLM Hashes (1,235 Flaws Fixed)HIGH
- Microsoft November 2026 Patch Release: 1,093 Vulnerabilities Fixed, Outlook Spoofing Zero-Day CVE-2026-124194 Actively ExploitedCRITICAL
- OpenAI GPT-6 Cyber Identifies 81 Previously Unknown High-Severity Firefox Vulnerabilities (Mozilla MFSA2026-118, Firefox 159)HIGH
- Multiple Vulnerabilities in Fortigate NGFW Before V7.4.1 on Siemens RUGGEDCOM APE1808 Devices (SSA-366067)CRITICAL
- Breaking the Sound Barrier, Part II: Exploiting CVE-2024-54529 (macOS CoreAudio coreaudiod type confusion, PoC public)HIGH
- Q2 2026 Vulnerability and Exploit Landscape: Exploited AI-platform flaws (OpenClaw CVE-2026-25253, Dify CVE-2026-41948, Open WebUI CVE-2026-45386), Exchange CVE-2026-45501, and Linux kernel page-cache LPE exploit wave (Copy Fail, Dirty Frag)HIGH
- PHP pre-announces two critical RCE flaws in PHP core (CVE-2026-109618, CVE-2026-109619); emergency patches due 2026-10-21 after embargo leakCRITICAL
- Microsoft Patches Two Dozen High-Severity RCE Flaws in Office (Word, Excel, Outlook, PowerPoint, SharePoint) - October 2026HIGH
- CVE-2026-97229: Critical GitLab Unauthenticated RCE via CI/CD Regex Compiler Integer OverflowCRITICAL
- October 2026 Microsoft Patch Tuesday: Exploited Windows Shell MotW Bypass (CVE-2026-96951), 1,417 Vulnerabilities PatchedCRITICAL
- GitLab CE/EE max-severity unauthenticated code execution flaw in CI/CD Regular Expression Compiler (CVE-2026-97229)CRITICAL
- Microsoft September 2026 Cloud Disclosure: 18 Elevation-of-Privilege, Information-Disclosure, and Spoofing Flaws Across Azure and Copilot AI Products, Plus a Windows Secure Kernel EoP (CVE-2026-85921)CRITICAL
- Multiple Fortinet FortiOS Vulnerabilities (incl. CVE-2024-23113) Affect Siemens RUGGEDCOM APE1808 via Bundled Fortinet NGFW < V7.4.3 (SSA-832273)CRITICAL
- September 2026 Microsoft Patch Tuesday — Record 966+ Vulnerabilities with Two Actively Exploited Zero-Days (CVE-2026-81963, CVE-2026-85880) and Multiple Critical Wormable RCEsCRITICAL
- Microsoft September 2026 Patch Tuesday — 999 CVEs, 3 actively exploited zero-days (CVE-2026-85880, CVE-2026-81963, CVE-2026-85046)CRITICAL
- Microsoft August 2026 Patch Tuesday: 400 Flaws Fixed, Including Lazarus-Exploited Zero-Day CVE-2026-68820 (AFD.sys) and Two Publicly Disclosed Zero-Days (CVE-2026-62832 "LegacyHive", CVE-2026-72971)CRITICAL
- Redis Streams Shared-NACK Double-Free (CVE-2026-25243) & RedisBloom RESTORE/TDigest Heap Overflow (CVE-2026-25589) — Authenticated RCE, Public PoC, Patch BypassHIGH
- HollowByte: OpenSSL Pre-Authentication TLS DoS Flaw Bloats Server Memory With 11-Byte PayloadMEDIUM
Mitigations
- Architecture and Design: Choose a language that provides automatic memory management.
- Implementation: Ensure that each allocation is freed only once. After freeing a chunk, set the pointer to NULL to ensure the pointer cannot be freed again. In complicated error conditions, be sure that clean-up routines respect the state of allocation properly. If the language is object oriented, ensure that object destructors delete each chunk of memory only once.
- Implementation: Use a static analysis tool to find double free instances.
Source: MITRE CWE, potential mitigations.
Detection methods (MITRE CWE)
- Fuzzing (effectiveness: High): Fuzz testing (fuzzing) is a powerful technique for generating large numbers of diverse inputs - either randomly or algorithmically - and dynamically invoking the code with those inputs. Even with random inputs, it is often capable of generating unexpected results such as crashes, memory corruption, or resource consumption. Fuzzing effectively produces repeatable test cases that clearly indicate bugs, which helps developers to diagnose the issues.
- Automated Static Analysis (effectiveness: High): Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
- Automated Dynamic Analysis (effectiveness: Moderate): Use tools that are integrated during compilation to insert runtime error-checking mechanisms related to memory safety errors, such as AddressSanitizer (ASan) for C/C++ [REF-1518].
Source: MITRE CWE, detection methods. Threadlinqs detection rules for the threats above are Blue tier and higher.