Integer Overflow or Wraparound Affecting grid package, versions >=0.17.0 <1.0.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-GRID-16321514
  • published29 Apr 2026
  • disclosed24 Apr 2026
  • creditksj1230

Introduced: 24 Apr 2026

CVE-2026-42199  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade grid to version 1.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound through the expand_rows function. An attacker can cause memory corruption and potentially trigger a crash or undefined behavior by passing crafted values that result in integer overflow during internal length calculations.

CVSS Base Scores

version 4.0
version 3.1