Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| becheran | grid | 0.17.0 to before 1.0.1 | 1.0.1 | Patch available | CNA |
| — | grid (crates.io) | 0.17.0 to before 1.0.1 | 1.0.1 | Patch available | GHSA-38c5-483c-4qqp |
- grid Vendorbecheran Affected 0.17.0 to before 1.0.1 Fixed in 1.0.1 Patch available CNA
- grid (crates.io) Vendor— Affected 0.17.0 to before 1.0.1 Fixed in 1.0.1 Patch available GHSA-38c5-483c-4qqp
Remediation
- Fix · CNA grid (becheran) Fixed in 1.0.1
- Fix · GHSA-38c5-483c-4qqp grid (crates.io) Fixed in 1.0.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42199
- 2026-10-03 Alias added: GHSA-38c5-483c-4qqp
References
Sources
- CVE-2026-42199 · CVE Program
- CVE-2026-42199 · NVD
- FIRST EPSS
- GHSA-38c5-483c-4qqp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences