← CVE Intelligence

CVE-2026-42199

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
becheran / gridaffected >= 0.17.0, < 1.0.1

CWE

CWE-190

References

ADP enrichment

CISA-ADP

No English description supplied.