What is CWE-843?
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
When the product accesses the resource using an incompatible type, this could trigger logical errors because the resource does not have expected properties. In languages without memory safety, such as C and C++, type confusion can lead to out-of-bounds memory access. While this weakness is frequently associated with unions when parsing data with many different embedded object types in C, it can be present in any application that can interpret the same variable or memory location in multiple ways. This weakness is not unique to C and C++. For example, errors in PHP applications can be triggered by providing array parameters when scalars are expected, or vice versa. Languages such as Perl, which perform automatic conversion of a variable of one type when it is accessed as if it were another type, can also contain these issues.
CWE-843 is a base-level weakness in MITRE’s Common Weakness Enumeration. Applicable platforms: Language: C; Language: C++.
Source: MITRE CWE (CWE-843 definition, reproduced verbatim). Counts and linkage below are Threadlinqs data.
Consequences
- 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.
Source: MITRE CWE, common consequences.
How CWE-843 is exploited in the wild
Threadlinqs maps 62 CVEs to CWE-843, published between 2017-04-27 and 2026-11-16. 14 are listed in CISA’s Known Exploited Vulnerabilities catalog, the authoritative record of exploitation in the wild. By CVSS v3 severity the set splits into 5 critical, 48 high, 6 medium. The highest EPSS score in the set is 96.9% (CVE-2017-8291), the modelled probability of exploitation in the next 30 days. 65 tracked threats reference CWE-843 directly or through a CVE it covers; the most recent is “Mozilla Firefox 160 Security Update Fixes 99 Vulnerabilities Including 13 Sandbox Escape Flaws (MFSA 2026-125)” (2026-11-17). Affected products concentrate in Google (35), Microsoft (10), Apple (6), among 17 vendors in total.
Vulnerabilities (CVEs)
Showing 40 of 62 CVEs mapped to CWE-843, CISA KEV first, then by CVSS score.
- CVE-2024-7971 — CISA KEV · CVSS 9.6 critical · EPSS 21.1% · published 2024-08-21
- CVE-2023-4762 — CISA KEV · CVSS 8.8 high · EPSS 41.3% · published 2023-09-05
- CVE-2023-2033 — CISA KEV · CVSS 8.8 high · EPSS 40.7% · published 2023-04-14
- CVE-2023-3079 — CISA KEV · CVSS 8.8 high · EPSS 37.8% · published 2023-06-05
- CVE-2024-23222 — CISA KEV · CVSS 8.8 high · EPSS 10.5% · published 2024-01-23
- CVE-2023-23529 — CISA KEV · CVSS 8.8 high · EPSS 9.5% · published 2023-02-27
- CVE-2022-42856 — CISA KEV · CVSS 8.8 high · EPSS 8.5% · published 2022-12-15
- CVE-2026-85046 — CISA KEV · CVSS 8.8 high · EPSS 1.1% · published 2026-09-03
- CVE-2026-33824 — CISA KEV · CVSS 8.4 high · EPSS 1.6% · published 2026-04-14
- CVE-2024-5274 — CISA KEV · CVSS 8.3 high · EPSS 7.7% · published 2024-05-28
- CVE-2025-6554 — CISA KEV · CVSS 8.1 high · EPSS 14.1% · published 2025-06-30
- CVE-2017-8291 — CISA KEV · CVSS 7.8 high · EPSS 96.9% · published 2017-04-27
- CVE-2020-27932 — CISA KEV · CVSS 7.8 high · EPSS 10.3% · published 2020-12-08
- CVE-2026-21519 — CISA KEV · CVSS 7.8 high · EPSS 2.4% · published 2026-02-10
- CVE-2026-115889 — CVSS 9.9 critical · EPSS 0.4% · published 2026-10-23
- CVE-2026-22104 — CVSS 9.8 critical · EPSS 0.4% · published 2026-02-20
- CVE-2026-118305 — CVSS 9.6 critical · EPSS 0.4% · published 2026-10-27
- CVE-2026-13776 — CVSS 9.6 critical · EPSS 0.3% · published 2026-06-30
- CVE-2026-116306 — CVSS 8.8 high · EPSS 0.5% · published 2026-11-12
- CVE-2026-116329 — CVSS 8.8 high · EPSS 0.5% · published 2026-11-12
- CVE-2026-120142 — CVSS 8.8 high · EPSS 0.5% · published 2026-11-12
- CVE-2026-6460 — CVSS 8.8 high · EPSS 0.5% · published 2026-11-12
- CVE-2026-16420 — CVSS 8.8 high · EPSS 0.5% · published 2026-07-21
- CVE-2026-15776 — CVSS 8.8 high · EPSS 0.5% · published 2026-07-14
- CVE-2026-95306 — CVSS 8.8 high · EPSS 0.4% · published 2026-09-29
- CVE-2026-106240 — CVSS 8.8 high · EPSS 0.4% · published 2026-10-06
- CVE-2026-126874 — CVSS 8.8 high · EPSS 0.4% · published 2026-11-11
- CVE-2026-121057 — CVSS 8.8 high · EPSS 0.4% · published 2026-11-03
- CVE-2026-93377 — CVSS 8.8 high · EPSS 0.4% · published 2026-09-17
- CVE-2026-102321 — CVSS 8.8 high · EPSS 0.3% · published 2026-09-29
- CVE-2026-126847 — CVSS 8.8 high · EPSS 0.3% · published 2026-11-11
- CVE-2026-102326 — CVSS 8.8 high · EPSS 0.3% · published 2026-09-29
- CVE-2026-102328 — CVSS 8.8 high · EPSS 0.3% · published 2026-09-29
- CVE-2026-103625 — CVSS 8.8 high · EPSS 0.3% · published 2026-10-02
- CVE-2026-126880 — CVSS 8.8 high · EPSS 0.2% · published 2026-11-11
- CVE-2026-126843 — CVSS 8.8 high · EPSS 0.2% · published 2026-11-11
- CVE-2026-118315 — CVSS 8.8 high · EPSS 0.2% · published 2026-10-27
- CVE-2026-126908 — CVSS 8.8 high · EPSS 0.2% · published 2026-11-11
- CVE-2026-126849 — CVSS 8.8 high · EPSS 0.2% · published 2026-11-11
- CVE-2026-102299 — CVSS 8.8 high · published 2026-09-29
Affected vendors
- Google — 35 CVEs
- Microsoft — 10 CVEs
- Apple — 6 CVEs
- Mozilla — 4 CVEs
- Debian — 3 CVEs
- Couchbase — 2 CVEs
- Fedoraproject — 2 CVEs
- Linux — 2 CVEs
- Artifex — 1 CVE
- Automattic — 1 CVE
- ISC — 1 CVE
- MediaTek — 1 CVE
Threat activity
65 tracked threats cite CWE-843; the 25 most recent are listed.
- Mozilla Firefox 160 Security Update Fixes 99 Vulnerabilities Including 13 Sandbox Escape Flaws (MFSA 2026-125)HIGH
- PostgreSQL CVE-2026-6460: 22-Year-Old Composite Type Confusion Enables Authenticated RCE; 52 CVEs Fixed in 18.7/17.12/16.16/15.20/14.25HIGH
- 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
- Microsoft Patch Tuesday November 2026: ~1,095 vulnerabilities, 64 critical, one exploited Outlook NTLM-leak spoofing zero-day (CVE-2026-124194)CRITICAL
- Google Chrome XML Use-After-Free Zero-Day Exploited in the Wild (CVE-2026-125350)HIGH
- Multiple Vulnerabilities in Google Chrome prior to 156.0.8078.73 (52 CVEs incl. CVE-2026-118306 FileSystem sandbox escape) - HKCERT Alert A26-10-59CRITICAL
- SSA-365200: Google Chrome V8 Type Confusion Vulnerability (CVE-2025-6554) in Siemens HyperLynx and Industrial Edge App PublisherHIGH
- Multiple Vulnerabilities in Google Chrome prior to 157.0.8103.38 (CVE-2026-121029 through CVE-2026-121257) - HK GovCERT Alert A26-11-05HIGH
- APT29 Watering-Hole Campaign Against Mongolian Government Sites Using iOS WebKit and Chrome Android Exploits (CVE-2023-41993, CVE-2024-5274, CVE-2024-4671)HIGH
- NCSC CTO Weekly Summary (week ending 2026-09-13): actively exploited Cisco FMC (CVE-2026-20079/20316), PaperCut NG/MF (CVE-2026-81578/82078), MikroTik RouterOS and FortiGate (CVE-2025-25249) flaws; NetScaler SAML bypass (CVE-2026-19490); BlueMoon exploit kitCRITICAL
- Breaking the Sound Barrier, Part II: Exploiting CVE-2024-54529 (macOS CoreAudio coreaudiod type confusion, PoC public)HIGH
- Coruna and DarkSword iOS Spyware Delivered via Instagram Ads, Hijacked Expired Ad/Analytics Domains and Compromised PrestaShop Stores (DeadTag)HIGH
- Wasmtime Cranelift Sandbox Escape Flaws (CVE-2026-115889, CVE-2026-115893)CRITICAL
- September 2026 Major Cyber Attacks: ShinyHunters FBIJobs/PeopleSoft (CVE-2026-35273), Clop Leak Site Grav CMS Hijack (CVE-2026-42608), PaperCut AI-Agent Campaign, BlueMoon Zero-Day Chain, NetScaler C2 (CVE-2026-88771)CRITICAL
- DeadTag campaign: Coruna and DarkSword iPhone exploit kits delivered via expired ad/analytics tags, compromised websites and malicious adsHIGH
- 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
- Citrix XenServer 8.4/9 Vulnerabilities Enabling Host Compromise (CVE-2026-79610, CVE-2026-102700, CVE-2026-102701, CVE-2026-79611)HIGH
- Coruna and DarkSword iOS Exploit Kits Compromise iPhones via Single Malicious Website (UNC6353, UNC6691, UNC6748, PARS Defense)HIGH
- Multiple Google Chrome Flaws Could Enable Memory Corruption and Code Execution Attacks (37 vulnerabilities patched, 7 critical; fixed in Chrome 155.0.8059.79)CRITICAL
- BlueMoon Exploit Kit Chains Chrome V8 Flaws CVE-2026-85046 and CVE-2026-87491 with Windows Kernel LPE CVE-2026-85880CRITICAL
- Chrome 155 Update Patches 247 Vulnerabilities Including 4 Critical Use-After-Free Flaws (CVE-2026-106382, CVE-2026-106197, CVE-2026-106358, CVE-2026-106347)CRITICAL
- Android October 2026 Security Bulletin - 25 Vulnerabilities Patched in Framework and System (Patch Level 2026-10-01)HIGH
- Multiple Vulnerabilities in Google Chrome (CVE-2026-103621 through CVE-2026-103631) - GovCERT.HK A26-10-08CRITICAL
- Cisco Talos disclosure: Microsoft, Adobe, Apple, and Foxit vulnerabilities (CVE-2026-48388, CVE-2026-57256, CVE-2026-91799, CVE-2026-50475, CVE-2026-58613, CVE-2026-80093, CVE-2026-49177)HIGH
- Multiple Vulnerabilities in Microsoft Edge prior to 154.0.4258.53 (HK GovCERT A26-10-03)CRITICAL
Detection methods (MITRE CWE)
- 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.)
Source: MITRE CWE, detection methods. Threadlinqs detection rules for the threats above are Blue tier and higher.