What is CWE-416?
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.
CWE-416 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-416 definition, reproduced verbatim). Counts and linkage below are Threadlinqs data.
Consequences
- Integrity — Modify Memory. The use of previously freed memory may corrupt valid data, if the memory area in question has been allocated and used properly elsewhere.
- Availability — DoS: Crash, Exit, or Restart. If chunk consolidation occurs after the use of previously freed data, the process may crash when invalid data is used as chunk information.
- Integrity, Confidentiality, Availability — Execute Unauthorized Code or Commands. If malicious data is entered before chunk consolidation can take place, it may be possible to take advantage of a write-what-where primitive to execute arbitrary code. If the newly allocated data happens to hold a class, in C++ for example, various function pointers may be scattered within the heap data. If one of these function pointers is overwritten with an address to valid shellcode, execution of arbitrary code can be achieved.
Source: MITRE CWE, common consequences.
How CWE-416 is exploited in the wild
Threadlinqs maps 486 CVEs to CWE-416, published between 2010-01-15 and 2026-11-17. 32 are listed in CISA’s Known Exploited Vulnerabilities catalog, the authoritative record of exploitation in the wild, and 8 are tied to ransomware campaigns. By CVSS v3 severity the set splits into 93 critical, 342 high, 26 medium, 2 low. The highest EPSS score in the set is 99.9% (CVE-2019-0708), the modelled probability of exploitation in the next 30 days. 195 tracked threats reference CWE-416 directly or through a CVE it covers; the most recent is “Chrome 158 Fixes 204 Vulnerabilities Including Six Critical Code Execution Flaws (CVE-2026-130963, CVE-2026-131031, CVE-2026-131060, CVE-2026-131008, CVE-2026-131054, CVE-2026-130975)” (2026-11-18). Affected products concentrate in Google (231), Microsoft (113), Mozilla (67), among 47 vendors in total.
Vulnerabilities (CVEs)
Showing 40 of 486 CVEs mapped to CWE-416, CISA KEV first, then by CVSS score.
- CVE-2019-0708 — CISA KEV · CVSS 9.8 critical · EPSS 99.9% · published 2019-05-16
- CVE-2026-109618 — CISA KEV · CVSS 9.8 critical · EPSS 99.9% · published 2026-10-21
- CVE-2024-9680 — CISA KEV · CVSS 9.8 critical · EPSS 23.1% · published 2024-10-09
- CVE-2026-34621 — CISA KEV · CVSS 9.8 critical · EPSS 2.1% · published 2026-04-13
- CVE-2021-37973 — CISA KEV · CVSS 9.6 critical · EPSS 11.7% · published 2021-10-08
- CVE-2024-4671 — CISA KEV · CVSS 9.6 critical · EPSS 8.3% · published 2024-05-09
- CVE-2010-0249 — CISA KEV · CVSS 8.8 high · EPSS 91.9% · published 2010-01-15
- CVE-2010-0806 — CISA KEV · CVSS 8.8 high · EPSS 82.2% · published 2010-03-10
- CVE-2021-26411 — CISA KEV · CVSS 8.8 high · EPSS 81.6% · published 2021-03-11
- CVE-2026-2441 — CISA KEV · CVSS 8.8 high · EPSS 55.1% · published 2026-02-13
- CVE-2022-38181 — CISA KEV · CVSS 8.8 high · EPSS 18.4% · published 2022-10-25
- CVE-2023-32373 — CISA KEV · CVSS 8.8 high · EPSS 12.1% · published 2023-06-23
- CVE-2025-43529 — CISA KEV · CVSS 8.8 high · EPSS 8.7% · published 2025-12-17
- CVE-2023-43000 — CISA KEV · CVSS 8.8 high · EPSS 4.0% · published 2025-11-05
- CVE-2026-5281 — CISA KEV · CVSS 8.8 high · EPSS 0.7% · published 2026-04-01
- CVE-2026-109619 — CISA KEV · CVSS 8.1 high · EPSS 99.9% · published 2026-10-21
- CVE-2018-15982 — CISA KEV · CVSS 7.8 high · EPSS 89.5% · published 2019-01-18
- CVE-2020-9715 — CISA KEV · CVSS 7.8 high · EPSS 48.5% · published 2020-08-19
- CVE-2024-1086 — CISA KEV · CVSS 7.8 high · EPSS 28.0% · published 2024-01-31
- CVE-2023-36802 — CISA KEV · CVSS 7.8 high · EPSS 27.9% · published 2023-09-12
- CVE-2025-29824 — CISA KEV · CVSS 7.8 high · EPSS 13.9% · published 2025-04-08
- CVE-2025-62221 — CISA KEV · CVSS 7.8 high · EPSS 2.5% · published 2025-12-09
- CVE-2023-41974 — CISA KEV · CVSS 7.8 high · EPSS 1.9% · published 2024-01-10
- CVE-2021-1048 — CISA KEV · CVSS 7.8 high · EPSS 1.0% · published 2021-12-15
- CVE-2024-4610 — CISA KEV · CVSS 7.8 high · EPSS 0.7% · published 2024-06-07
- CVE-2024-43047 — CISA KEV · CVSS 7.8 high · EPSS 0.6% · published 2024-10-07
- CVE-2020-0674 — CISA KEV · CVSS 7.5 high · EPSS 86.8% · published 2020-02-11
- CVE-2025-27038 — CISA KEV · CVSS 7.5 high · EPSS 1.0% · published 2025-06-03
- CVE-2025-48543 — CISA KEV · CVSS 7.5 high · EPSS 0.5% · published 2025-09-04
- CVE-2025-24983 — CISA KEV · CVSS 7 high · EPSS 1.3% · published 2025-03-11
- CVE-2026-68820 — CISA KEV · CVSS 7 high · EPSS 0.3% · published 2026-08-11
- CVE-2022-2586 — CISA KEV · CVSS 5.3 medium · EPSS 10.4% · published 2024-01-08
- CVE-2025-49844 — CVSS 10 critical · EPSS 82.2% · published 2025-10-03
- CVE-2026-57092 — CVSS 9.9 critical · published 2026-07-14
- CVE-2020-28951 — CVSS 9.8 critical · EPSS 1.7% · published 2020-11-19
- CVE-2026-62815 — CVSS 9.8 critical · EPSS 0.9% · published 2026-08-11
- CVE-2026-62893 — CVSS 9.8 critical · EPSS 0.9% · published 2026-08-11
- CVE-2026-69525 — CVSS 9.8 critical · EPSS 0.9% · published 2026-09-08
- CVE-2026-69579 — CVSS 9.8 critical · EPSS 0.9% · published 2026-09-08
- CVE-2026-69595 — CVSS 9.8 critical · EPSS 0.9% · published 2026-09-08
Affected vendors
Threat activity
195 tracked threats cite CWE-416; the 25 most recent are listed.
- Chrome 158 Fixes 204 Vulnerabilities Including Six Critical Code Execution Flaws (CVE-2026-130963, CVE-2026-131031, CVE-2026-131060, CVE-2026-131008, CVE-2026-131054, CVE-2026-130975)CRITICAL
- Atlassian November 2026 Security Bulletin: 318 vulnerability entries across Jira, Confluence, Bitbucket, Bamboo, Crowd, Fisheye and Crucible (52 critical), plus Confluence Axis RCE CVE-2026-90436CRITICAL
- Unauthenticated RCE in NGINX HTTP/2: CVE-2026-123633 (use-after-free) and CVE-2026-123007 (send_window integer underflow)CRITICAL
- nginx2root: Five critical nginx vulnerabilities (incl. unauthenticated RCE) plus Linux kernel SCTP use-after-free enabling root chain (CVE-2026-123007, CVE-2026-123634, CVE-2026-123633, CVE-2026-121810, CVE-2026-113425)CRITICAL
- PHP critical security release scheduled 19 Nov 2026 - CVE-2026-115560 RCE vector in session upload progressCRITICAL
- OPTIMJACK: Optimizely Web Experimentation Compromise Injects Crypto Clipper, Card Skimmer and iOS Exploit-Kit Loaders (Coruna, DarkSword) into Customer SitesCRITICAL
- Mozilla Firefox 160 Security Update Fixes 99 Vulnerabilities Including 13 Sandbox Escape Flaws (MFSA 2026-125)HIGH
- ARTEX open-source agentic AI pentest framework abused by threat actors (Storm-3358, Storm-0940, others) for automated recon and exploitationHIGH
- NoisyTCP (CVE-2026-99288): 11-Year-Old Linux Kernel TCP Race Condition Enables Remote Unauthenticated CrashHIGH
- GTIG warns fully-automated agentic AI attacks imminent: exploit_agent, CAIRN, ARTEX abuse and SOMBERMEME via modified Claude Code (MIDNIGHT NEPTUNE / UNC6836)HIGH
- CISA adds Check Point Gaia DynamicCLI LPE (CVE-2026-123039) and UnrealIRCd labeled-response command injection (CVE-2026-114713) to KEVCRITICAL
- Check Point Gaia/Mobile Access Exploitation (CVE-2026-109618, CVE-2026-109619, CVE-2026-123039) Leads to Root Access and destroy_v6 Wiper Deployment on VMware ESXiCRITICAL
- Node.js November 2026 Security Releases Patch 16 Vulnerabilities (HTTP/2 crashes, HTTPS heap/TLS key leak CVE-2026-123864, TLS client-certificate auth bypass)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
- SignDrop: Unpatched Windows CLFS Zero-Day Enables Local Privilege Escalation to SYSTEM (No CVE)HIGH
- Google Chrome 157 Stable Update Fixes 83 Security Flaws Including 5 Critical Use-After-Free Bugs (CVE-2026-126885, CVE-2026-126895, CVE-2026-126879, CVE-2026-126846, CVE-2026-126911)CRITICAL
- AI-Accelerated Exploitation and Agentic Post-Compromise Activity (PHP2Shell CVE-2026-109618/109619, DIVD Zammad Breach CVE-2026-102489/102490) — Shift from Patching to MitigationHIGH
- 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
- Linux kernel net/sched action-IDR use-after-free LPE (CVE-2026-53264) and perf/aux page-UAF LPE (CVE-2026-64300) with public exploitHIGH
- Apple Bluetooth/AirPlay Pairing Vulnerabilities Patched Across Apple Platforms (CVE-2026-113968, CVE-2026-113969, CVE-2026-113964, CVE-2026-113965, CVE-2026-113970)MEDIUM
- Intel and AMD November 2026 Patch Tuesday: 200+ vulnerabilities incl. critical TDX MigTD flaws (CVE-2026-61887, CVE-2026-44685, CVE-2026-61473)CRITICAL
- Windows SignDrop 0-Day: CLFS (clfs.sys) Local Privilege Escalation to SYSTEM with Public PoC (No CVE Assigned)HIGH
- CVE-2026-119618: Critical Unauthenticated RCE via Race Condition in Apache HTTP Server mod_http2 assign_headers()CRITICAL
- CVE-2026-118383: Use-after-free vulnerability in MongoDB Server (replica set primary catch-up)CRITICAL
Mitigations
- Architecture and Design / Language Selection: Choose a language that provides automatic memory management.
- Implementation / Attack Surface Reduction: 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, 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.