Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. grid
  4. ›
  5. GHSA-38c5-483c-4qqp

GHSA-38c5-483c-4qqp: Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior

April 24, 2026

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.

References

  • github.com/advisories/GHSA-38c5-483c-4qqp
  • github.com/becheran/grid
  • github.com/becheran/grid/commit/be213bd3528727148bef2d523c89e95d1fd9c072
  • github.com/becheran/grid/security/advisories/GHSA-38c5-483c-4qqp

Code Behaviors & Features

Detect and mitigate GHSA-38c5-483c-4qqp with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.17.0 before 1.0.1

Fixed versions

  • 1.0.1

Solution

Upgrade to version 1.0.1 or above.

Impact 6.2 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound

Source file

cargo/grid/GHSA-38c5-483c-4qqp.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:46 +0000.