Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconControl grid dimension input
-
DeliverySupply near-usize::MAX row count to expand_rows()
-
ExploitOverflow wraps backing-vector resize to undersized allocation
-
InstallLogical row metadata updated to full value
-
C2Invoke safe get() on corrupted grid
-
Executeget_unchecked() called with invalid index
-
ImpactUB triggers process crash (SIGSEGV/illegal instruction)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability triggers when: (1) the target application links the |
| Impact | Real-world risk is moderate-to-low. The CVSS base score of 6.2 (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) characterizes this as a local availability impact: an attacker or malicious input must reach |
| Exploit ScenarioDerived | An attacker who can influence the number of rows passed to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Integer overflow in the Rust grid crate's Grid::expand_rows() method (versions 0.17.0 through 1.0.0) corrupts the relationship between logical grid dimensions and physical backing storage, allowing the safe get() API to invoke get_unchecked() with an invalid index and trigger undefined behavior. A publicly available proof-of-concept included in the GHSA advisory demonstrates a process crash (SIGSEGV or illegal instruction trap) using only safe Rust code by passing usize::MAX / 2 to expand_rows(). No CISA KEV listing exists and EPSS sits at 0.01% (2nd percentile), but the SSVC framework confirms poc-level exploitation status; the fix is available in version 1.0.1.
RemediationAI
Upgrade the grid crate dependency to version 1.0.1 or later by updating Cargo.toml to specify grid = "1.0.1" and running cargo update to lock the dependency. The fix is available via the GitHub release at https://github.com/becheran/grid/releases/tag/v1.0.1 and the fixing commit at https://github.com/becheran/grid/commit/be213bd3528727148bef2d523c89e95d1fd9c072. If an immediate upgrade is not possible, add application-level bounds validation before any call to expand_rows(), expand_cols(), prepend_rows(), or prepend_cols() - specifically, verify that the requested dimension count does not cause rows.checked_mul(self.cols) or self.data.len().checked_add(product) to return None before passing user-controlled values to the library. This workaround requires auditing every call site and carries the risk of missed locations; it should be treated as temporary only.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The grid crate (CPE: cpe:2.3:a:becheran:grid:*:*:*:*:*:*:*:*) is a Rust library providing a two-dimensional data structure backed by a contiguous Vec<T>. The root cause is CWE-190 (Integer Overflow or Wraparound): expand_rows() computed new backing-vector lengths using unchecked arithmetic (self.data.len() + rows * self.cols), which silently wraps in Rust release builds when the multiplication or subsequent addition overflows usize. The resulting undersized allocation breaks the invariant that logical grid dimensions must match physical backing storage. For ColumnMajor grids, index computations derived from the now-incorrect total_rows produce invalid slice ranges before metadata is even updated. Finally, self.rows += rows stores the logically correct but physically unsupported row count, causing the safe get() method to invoke the unsafe get_unchecked() with an out-of-bounds index - violating Rust's memory safety guarantees even in entirely #[forbid(unsafe_code)] consumer code. The fix in v1.0.1 replaces all four affected arithmetic sites (expand_rows, expand_cols, prepend_rows, prepend_cols) with checked_add/checked_mul helpers that panic on overflow, preserving grid integrity.
Know when Grid gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Local vector because exploitation requires code running in-process; no privileges needed to call the library; impact limited to availability via process crash from undefined behavior.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Grid is a data structure grid for rust. From version 0.17.0 to before version 1.0.1, an integer overflow in Grid::expand_rows() can corrupt the relationship between the grid’s logical dimensions and its backing storage. After the internal invariant is broken, the safe API get() may invoke get_unchecked() with an invalid index, resulting in Undefined Behavior. This issue has been patched in version 1.0.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Arbitrary Perl code execution in GRID::Machine through version 0.127 occurs when clients connect to remote hosts via RPC
GRID Organiser App versions 1.0.0 through 1.0.5 on Android expose a hard-coded cryptographic key used for the SegmentWri
An issue was discovered in Sylius products. Rated medium severity (CVSS 4.8), this vulnerability is remotely exploitable
EUVD-2026-28834
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB