Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. grid
  4. ›
  5. CVE-2026-42199

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

April 24, 2026 (updated May 13, 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/commit/be213bd3528727148bef2d523c89e95d1fd9c072
  • github.com/becheran/grid/releases/tag/v1.0.1
  • github.com/becheran/grid/security/advisories/GHSA-38c5-483c-4qqp
  • nvd.nist.gov/vuln/detail/CVE-2026-42199

Code Behaviors & Features

Detect and mitigate CVE-2026-42199 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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/CVE-2026-42199.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:10 +0000.