Skip to content
OpenAdvisories

Weakness (CWE)

CWE-588: Attempt to Access Child of a Non-structure Pointer

Variant Incomplete

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

How to prevent it (2 mitigations)
  1. Requirements

    The choice could be made to use a language that is not susceptible to these issues.

  2. Implementation

    Review of type casting operations can identify locations where incompatible types are cast.

Source: MITRE CWE-588

3 results · Feed

  • High 8.8

    iccDEV has Type Confusion in ToXmlCurve() at IccXML/IccLibXML/IccMpeXml.cpp

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of International Color Consortium (ICC) color management profiles. Versions prior to 2.3.1.2 have a Type Confusion vulnerability in `ToXmlCurve()` at `I…

  • High 7.5

    Zephyr JSON decoder incorrectly decodes array of array

    Zephyr JSON decoder incorrectly decodes array of array. Zephyr versions >= >1.14.0, >= >2.5.0 contain Attempt to Access Child of a Non-structure Pointer (CWE-588). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA…

  • Medium 6.5

    DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses

    DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Zephyr versions >= > v2.4.0 contain NULL Pointer Dereference (CWE-476), Attempt to Access Child of a Non-structure Pointer (CWE-588). For more information, see https://github.com/zeph…