目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1325

100%

CWE-416 释放后使用 类漏洞列表 2835

CWE-416 释放后使用 类弱点 2835 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-416 释放后使用是一种内存安全漏洞,指程序在释放内存后仍引用该内存区域。攻击者常利用此缺陷,通过重新分配内存并控制其内容,诱导程序执行恶意代码或读取敏感数据,从而引发远程代码执行或信息泄露。开发者应避免此类风险,确保在指针置空前彻底解除引用,采用智能指针等自动内存管理机制,并严格验证内存生命周期,防止悬空指针操作。

MITRE CWE 官方描述
CWE:CWE-416 Use After Free 英文:产品在内存被释放后重新使用或引用该内存。在此之后,该内存可能会被重新分配并保存到另一个指针中,而原始指针则指向新分配内存中的某个位置。由于内存“属于”操作新指针的代码,因此使用原始指针的任何操作均不再有效。
常见影响 (4)
IntegrityModify Memory
The use of previously freed memory may corrupt valid data, if the memory area in question has been allocated and used properly elsewhere.
AvailabilityDoS: 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.
ConfidentialityRead Memory
Read operations on freed memory can sometimes leak sensitive information instead of causing a crash
Integrity, Confidentiality, AvailabilityExecute 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 …
缓解措施 (2)
Architecture and DesignChoose a language that provides automatic memory management.
ImplementationWhen 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.
Effectiveness: Defense in Depth
代码示例 (2)
The following example demonstrates the weakness.
#include <stdio.h> #include <unistd.h> #define BUFSIZER1 512 #define BUFSIZER2 ((BUFSIZER1/2) - 8) int main(int argc, char **argv) { char *buf1R1; char *buf2R1; char *buf2R2; char *buf3R2; buf1R1 = (char *) malloc(BUFSIZER1); buf2R1 = (char *) malloc(BUFSIZER1); free(buf2R1); buf2R2 = (char *) malloc(BUFSIZER2); buf3R2 = (char *) malloc(BUFSIZER2); strncpy(buf2R1, argv[1], BUFSIZER1-1); free(buf1R1); free(buf2R2); free(buf3R2); }
Bad · C
The following code illustrates a use after free error:
char* ptr = (char*)malloc (SIZE); if (err) { abrt = 1; free(ptr); } ... if (abrt) { logError("operation aborted before commit", ptr); }
Bad · C
CVE ID标题CVSS风险等级Published
CVE-2026-12706 FFmpeg rasc解码器堆使用后释放漏洞 — Red Hat Enterprise Linux AI (RHEL AI) 3 6.5 Medium2026-06-19
CVE-2026-11941 连接ID迭代器和FFI函数中的释放后使用漏洞 — Quiche 5.6 Medium2026-06-19
CVE-2026-41156 GPU DDK 内核与固件 CCB 包含无引用同步原语地址漏洞 — Graphics DDK--2026-06-19
CVE-2026-34192 GPU DDK 内存分配错误恢复路径存在悬空页表项漏洞 — Graphics DDK--2026-06-19
CVE-2026-56131 libexpat < 2.8.2 存在Use-After-Free漏洞 — libexpat 4.9 Medium2026-06-19
CVE-2026-11791 389-ds-base schema重新加载use-after-free漏洞 — Red Hat Directory Server 11 5.0 Medium2026-06-18
CVE-2026-9158 Eclipse 4diac FORTE 3.0.0-3.1.0 内存释放后使用漏洞 — Eclipse 4diac--2026-06-18
CVE-2026-42530 NGINX Open-Source ngx_http_v3_module 漏洞 — NGINX Open Source 8.1 High2026-06-17
CVE-2026-12467 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12464 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12462 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12455 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12452 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12451 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12449 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12445 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12442 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12443 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12440 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12441 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12439 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-12437 Google Chrome 资源管理错误漏洞 — Chrome--2026-06-17
CVE-2026-10640 IPv6邻居发现use-after-free漏洞 — zephyr 4.2 Medium2026-06-16
CVE-2026-10639 ICMPv4 echo-reply 包 net_pkt_iface() 使用释放后读取漏洞 — zephyr 4.8 Medium2026-06-16
CVE-2026-10638 Zephyr ICMPv6 RX路径使用后释放漏洞 — zephyr 5.9 Medium2026-06-16
CVE-2026-10637 IPv6 MLD发送路径中net_pkt使用后释放漏洞 — zephyr 5.9 Medium2026-06-16
CVE-2026-10636 Zephyr IGMP发送路径Use-After-Free漏洞 — zephyr 3.7 Low2026-06-16
CVE-2026-10635 Xtensa MMU内存域关闭时使用已释放指针漏洞 — zephyr 6.3 Medium2026-06-16
CVE-2026-6040 The Document Foundation LibreOffice 资源管理错误漏洞 — LibreOffice--2026-06-15
CVE-2026-10634 zephyrproject zephyr 资源管理错误漏洞 — zephyr 4.8 Medium2026-06-15

CWE-416(释放后使用) 是常见的弱点类别,本平台收录该类弱点关联的 2835 条 CVE 漏洞。