CVE-2026-42199
MEDIUMGrid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/becheran/grid/security/advisories/GHSA-38c5-483c-4qqp
X_Refsource_Misc x_refsource_misc
https://github.com/becheran/grid/commit/be213bd3528727148bef2d523c89e95d1fd9c072
X_Refsource_Misc x_refsource_misc
https://github.com/becheran/grid/releases/tag/v1.0.1
Scores
CVSS v3
6.2
EPSS
0.0013
EPSS Percentile
3.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-190
Status
published
Products (2)
becheran/grid
>= 0.17.0, < 1.0.1
crates.io/grid
0.17.0 - 1.0.1crates.io
Published
May 08, 2026
Tracked Since
May 09, 2026