CVE-2026-42199 PUBLISHED

Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior

Assigner: GitHub_M
Reserved: 25.04.2026 Published: 08.05.2026 Updated: 08.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 6.2

Product Status

Vendor becheran
Product grid
Versions
  • Version >= 0.17.0, < 1.0.1 is affected

References

Problem Types

  • CWE-190: Integer Overflow or Wraparound CWE