CWE-588: 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.
Last updated
Overview
CWE-588 (Attempt to Access Child of a Non-structure Pointer) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
3 recorded CVEs are caused by CWE-588 (Attempt to Access Child of a Non-structure Pointer). The highest-severity and most recent are shown first.
- CVE-2021-3510
Zephyr JSON decoder incorrectly decodes array of array
High · CVSS 7.5 · EPSS 60th2021-10-05 - CVE-2024-50178
cpufreq: loongson3: Use raw_smp_processor_id() in do_service_request()
Medium · CVSS 5.5 · EPSS 11th2024-11-08 - CVE-2022-48638
cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
Medium · CVSS 5.3 · EPSS 15th