1. CVE archive
  2. Vulnerability types
  3. CWE-588
CWE-588 · #759 most frequent type in the archive

Attempt to Access Child of a Non-structure Pointer

The product casts a non-structure type to a structure type, then accesses a field within the structure.

Part of: CWE-704 · Incorrect Type Conversion or Cast

1CVEs of this type in the archive
0critical (CVSS ≥ 9)
1high severity (7–8.9)
Oct 5, 2021latest published

What it is

The product casts a non-structure type to a structure type, then accesses a field within the structure.

Impact on systems

ScopeImpact
Integrity Modify Memory
Adjacent variables in memory may be corrupted by assignments performed on fields after the cast, leading to data corruption.
Availability DoS: Crash, Exit, or Restart
Execution may end due to a memory access error.

How to prevent it

Requirements The choice could be made to use a language that is not susceptible to these issues.
Implementation Review of type casting operations can identify locations where incompatible types are cast.

Source: MITRE CWE catalog · Official entry on the MITRE website

All CWE-588 CVEs

1 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.