CVE-2026-42199
MEDIUM 6.2CVSS 3.1Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
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.
- Published
- 8 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-190
- Also known as
- GHSA-38c5-483c-4qqp
- Sources
- NVDJSONOSV GHSA-38c5-483c-4qqpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | grid | >= 0.17.0, < 1.0.1 | 1.0.1 |
References
- https://github.com/becheran/grid/commit/be213bd3528727148bef2d523c89e95d1fd9c072 · WEB
- https://github.com/becheran/grid/releases/tag/v1.0.1 · WEB
- https://github.com/becheran/grid/security/advisories/GHSA-38c5-483c-4qqp · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42199 · ADVISORY
- https://github.com/becheran/grid · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Apr 2026)