CWE-843

Access of Resource Using Incompatible Type ('Type Confusion')

Medium

Description

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.

Potential Impact

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-843 vulnerabilities in your codebase.

Get Security Assessment