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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-843 使用不兼容类型访问资源(类型混淆) 类漏洞列表 538

CWE-843 使用不兼容类型访问资源(类型混淆) 类弱点 538 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-843类型混淆漏洞指程序以不兼容类型访问已分配资源,导致逻辑错误。攻击者常利用此缺陷操纵内存布局,引发数据泄露或代码执行。开发者应严格实施类型检查,确保变量声明与使用类型一致,并在C等无内存安全语言中引入静态分析工具,从源头杜绝类型不匹配风险,保障系统稳定性。

MITRE CWE 官方描述
CWE:CWE-843 使用不兼容类型访问资源(Type Confusion,类型混淆) 产品使用一种类型分配或初始化资源(如指针、对象或变量),但随后使用与该原始类型不兼容的类型访问该资源。 当产品使用不兼容类型访问该资源时,可能会因资源不具备预期属性而触发逻辑错误。在缺乏内存安全性的语言(如 C 和 C++)中,类型混淆可能导致越界内存访问。虽然这种弱点在解析包含多种不同嵌入对象类型的 C 语言数据时,常与联合体(unions)相关,但它也可能存在于任何能够以多种方式解释同一变量或内存位置的应用程序中。此弱点并非 C 和 C++ 所独有。例如,在 PHP 应用程序中,当期望标量(scalars)时提供数组参数,或反之,均可能触发错误。像 Perl 这样的语言,当变量被当作另一种类型访问时会自动进行类型转换,也可能存在此类问题。
常见影响 (1)
Availability, Integrity, Confidentiality Read Memory, Modify Memory, Execute Unauthorized Code or Commands, DoS: Crash, Exit, or Restart
When a memory buffer is accessed using the wrong type, it could read or write memory out of the bounds of the buffer, if the allocated buffer is smaller than the type that the code is attempting to access, leading to a crash and possibly code execution.
代码示例 (2)
The following code uses a union to support the representation of different types of messages. It formats messages differently, depending on their type.
#define NAME_TYPE 1 #define ID_TYPE 2 struct MessageBuffer { int msgType; union { char *name; int nameID; }; }; int main (int argc, char **argv) { struct MessageBuffer buf; char *defaultMessage = "Hello World"; buf.msgType = NAME_TYPE; buf.name = defaultMessage; printf("Pointer of buf.name is %p\n", buf.name); /* This particular value for nameID is used to make the code architecture-independent. If coming from untrusted input, it could be any value. */ buf.nameID = (int)(defaultMessage + 1); printf("Pointer of buf.name is now %p\n", buf.name); if (buf.msgType == NAME_TYPE) { printf("Message: %
Bad · C
The following PHP code accepts a value, adds 5, and prints the sum.
$value = $_GET['value']; $sum = $value + 5; echo "value parameter is '$value'<p>"; echo "SUM is $sum";
Bad · PHP
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-106587 OpenSSH 10.6前sshd配置项解析漏洞 — OpenSSH 3.6 Low 2026-10-06
CVE-2026-106374 Chrome<155.0.8059.39 V8类型混淆远程代码执行 — Chrome - - 2026-10-06
CVE-2026-106341 Chrome 155.0.8059.39前V8类型混淆漏洞 — Chrome - - 2026-10-06
CVE-2026-106240 Chrome <155.0.8059.39 存在类型混淆导致远程代码执行 — Chrome - - 2026-10-06
CVE-2026-106293 Chrome <155.0.8059.39 类型混淆漏洞 — Chrome - - 2026-10-06
CVE-2026-106101 Quasar Framework openURL() DOM污染导致Safari客户端拒绝服务漏洞 — quasar 3.1 Low 2026-10-06
CVE-2026-20587 mtee系统权限提升漏洞(类型混淆) — MediaTek chipset - - 2026-10-05
CVE-2026-103625 Chrome<154.0.8037.97 V8类型混淆致远程代码执行 — Chrome - - 2026-10-02
CVE-2026-104846 Seroval fromJSON Promise 绕过CVE-2026-59940 调用漏洞 — seroval 9.8 Critical 2026-10-02
CVE-2026-47583 NVIDIA Windows驱动内核类型混淆漏洞 — GeForce 7.8 High 2026-09-30
CVE-2026-47572 NVIDIA Linux驱动内核层类型混淆漏洞 — GeForce 7.8 High 2026-09-30
CVE-2026-47569 NVIDIA Linux驱动内核层类型混淆漏洞 — GeForce 7.8 High 2026-09-30
CVE-2026-47504 NVIDIA Linux驱动NGX更新器类型混淆漏洞 — GeForce 7.8 High 2026-09-30
CVE-2026-102321 Chrome V8 类型混淆远程代码执行漏洞 — Chrome - - 2026-09-29
CVE-2026-102326 Chrome 154 V8类型混淆远程代码执行 — Chrome - - 2026-09-29
CVE-2026-102328 Chrome V8类型混淆致沙箱内代码执行 — Chrome - - 2026-09-29
CVE-2026-102299 Chrome V8类型混淆漏洞致沙箱内代码执行 — Chrome - - 2026-09-29
CVE-2026-102323 Chrome V8类型混淆致沙箱内代码执行 — Chrome - - 2026-09-29
CVE-2026-95380 Chrome 154.0.8037.57 V8类型混淆漏洞 — Chrome - - 2026-09-29
CVE-2026-95306 Chrome V8 类型混淆致沙箱代码执行 — Chrome - - 2026-09-29
CVE-2026-95365 Chrome 154.0.8037.57前IndexedDB类型混淆 — Chrome - - 2026-09-29
CVE-2026-95286 Chrome 154.0.8037.57前类型混淆漏洞 — Chrome - - 2026-09-29
CVE-2026-102556 Libsoup websocket类型混淆堆溢出漏洞 — Red Hat Enterprise Linux 10 8.6 High 2026-09-29
CVE-2026-18417 Zephyr BSD套接字TCP监听异步错误野指针解引用漏洞 — zephyr 6.5 Medium 2026-09-28
CVE-2026-85644 XS::Parse::Infix 0.40-0.49 for Perl 数组引用漏洞 - - 2026-09-28
CVE-2026-88816 Perl DBI 低于 1.654 FetchHashKeyName 类型混淆漏洞 - - 2026-09-28
CVE-2026-88815 DBI for Perl 1.654以下版本在sql_type_cast_svpv中错误处理数字类型漏洞 - - 2026-09-28
CVE-2026-97737 Wakapi<2.17.6用户缓存逻辑缺陷致账户接管 — Wakapi 7.4 High 2026-09-25
CVE-2026-96883 AWS pgcollection 类型混淆漏洞,允许远程代码执行 — pgcollection 8.8 High 2026-09-24
CVE-2026-94083 Suricata 8.0.7之前DoH2类型混淆导致DoS — Suricata 9.4 Critical 2026-09-20

CWE-843(使用不兼容类型访问资源(类型混淆)) 是常见的弱点类别,本平台收录该类弱点关联的 538 条 CVE 漏洞。