CVE-2026-56111: Incomplete Upper Bounds Grid Access

A validation condition only checks the lower bounds (< 0) of indices, omitting an upper bounds check. Using these unbounded indices in subsequent array access or structure mutations can cause out-of-bounds read/write vulnerabilities.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C++
greprules fetch cve-2026-56111-incomplete-upper-bounds-grid-access --engine opengrep

Description

A validation condition only checks the lower bounds (< 0) of indices, omitting an upper bounds check. Using these unbounded indices in subsequent array access or structure mutations can cause out-of-bounds read/write vulnerabilities.