CVE-2026-42199
published medium CVSS 3.1 · 6.2Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| becheran | — | grid>= 0.17.0, < 1.0.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| becheran | grid | >= 0.17.0, < 1.0.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-190 CWE-190: Integer Overflow or Wraparound
References
3Provider assertions
2GitHub_M · cna
Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 35826db6a5fffc6135a5e9f182896678fa22b865a348cfb267062e7887927f08
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record