CVE 6.2 MEDIUM

Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior_CVE-2026-42199

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

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.

Basic Information

ID CVE-2026-42199
Source GitHub_M
Published May 8, 2026 at 21:15

Affected Product

Vendor becheran
Product grid
Version >= 0.17.0, < 1.0.1
Affected Versions becheran grid >= 0.17.0, < 1.0.1

CWE Classification

References

πŸ’­ Join the Security Discussion

πŸ”’ Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.