{"id":"CVE-2026-42199","published":"2026-05-08T21:15:16Z","modified":"2026-05-11T16:00:21Z","title":"Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior","vendor":"becheran","product":"grid","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00195,"percentile":0.0936,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/becheran/grid/security/advisories/GHSA-38c5-483c-4qqp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/becheran/grid/commit/be213bd3528727148bef2d523c89e95d1fd9c072","tags":["x_refsource_MISC"]},{"url":"https://github.com/becheran/grid/releases/tag/v1.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":1.87},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"becheran","affectedVersions":[{"vendor":"becheran","product":"grid","versions":[">= 0.17.0, < 1.0.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T16:00:17.428184Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"grid","vulnerableRanges":[">=0.17.0, <1.0.1"],"patched":["1.0.1"],"from":["GHSA-38c5-483c-4qqp"],"provenance":"source"}],"summary":{"text":"The Grid crate for Rust, from version 0.17.0 before 1.0.1, contains an integer overflow in Grid::expand_rows() that can corrupt the mapping between the grid's logical dimensions and its backing storage. An attacker with local access and no privileges or user interaction required can trigger this flaw, after which the safe get() method may call get_unchecked() with an invalid index, causing undefined behaviour.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:59Z"},"euvd":{"id":"EUVD-2026-28834","exploited":false,"provenance":"source"}}