CVE-2026-42199CWE-190

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

Medium · published May 8, 2026

CVSS v3.1
6.2
EPSS
0%
Percentile
7.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00184 · 7.5th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2026-05-08T21:15Z
EPSS history
Timeline
  • 08 MAY 21:15Z
    Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
    cvelistv5