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

Reliance on Data/Memory Layout

The product makes invalid assumptions about how protocol data or memory is organized at a lower level.

Part of: CWE-435 · Improper Interaction Between Multiple Correctly-Behaving Entities

2CVEs of this type in the archive
0critical (CVSS ≥ 9)
0high severity (7–8.9)
Sep 3, 2026latest published

What it is

The product makes invalid assumptions about how protocol data or memory is organized at a lower level.

Impact on systems

ScopeImpact
Integrity, Confidentiality Modify Memory, Read Memory
This can result in unintended program behavior, including the unintended modifications or reading of sensitive memory. An implementation might access an unintended field in the protocol data/memory (such as a packet), treating data of one type as data of another type.

How to prevent it

Implementation · Architecture and Design In flat address space situations, never allow computing memory addresses as offsets from another memory address.
Architecture and Design Fully specify protocol layout unambiguously, providing a structured grammar (e.g., a compilable yacc grammar).
Testing Testing: Test that the implementation properly handles each case in the protocol grammar.

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

All CWE-188 CVEs

2 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.