Home

Description

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 Reserved 2026-04-25 | Published 2026-05-08 | Updated 2026-05-08 | Assigner GitHub_M




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

Problem types

CWE-190: Integer Overflow or Wraparound

Product status

>= 0.17.0, < 1.0.1
affected

References

github.com/...n/grid/security/advisories/GHSA-38c5-483c-4qqp

github.com/...ommit/be213bd3528727148bef2d523c89e95d1fd9c072

github.com/becheran/grid/releases/tag/v1.0.1

cve.org (CVE-2026-42199)

nvd.nist.gov (CVE-2026-42199)

Download JSON