COMMON WEAKNESS ENUMERATIONIncomplete
CWE-843
Access of Resource Using Incompatible Type ('Type Confusion')
Abstraction
Base
Structure
Simple
Likelihood of Exploit
Medium
Understand the problem
What is the problem?
Extended description
Terminology
Alternate terms and usages
Object Type Confusion
Root cause
How and when does the problem arise?
Lifecycle phase
Implementation
Risk
What does successful exploitation lead to?
Read MemoryModify MemoryExecute Unauthorized Code or CommandsDoS: Crash, Exit, or Restart
Defence
How is it prevented and fixed?
- Follow secure coding guidelines for input handling and boundary checking.
- Enforce strict security reviews and automated static analysis (SAST) checks.
Verification