Skip to content
OpenAdvisories
Medium · 6.2 CVE-2026-42199 EUVD-2026-28834GHSA-38c5-483c-4qqp

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

Published May 8, 2026 · Updated May 11, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
becheran grid >= 0.17.0, < 1.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling zed 1.2.3-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io grid >= 0.17.0, < 1.0.1 1.0.1 GHSA-38c5-483c-4qqp

References