grid
Activity
- Latest release
- 4mo ago
- Total releases
- 27
- Cadence
- ~2 months
- Last 12 months
- 1
Details
- License
- MIT
- First release
- Dec 23, 2017
| Version | Released | |
|---|---|---|
1.0.1
unknown
|
1.0.1
unknown
Dependencies (4)
|
|
1.0.0
unknown
1 CVE
CVE-2026-42199
GHSA-38c5-483c-4qqp
Apr 24, 2026
Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
6.2
/ 10
Medium
Local
Low
None
None
Unchanged
None
None
High
SummaryAn integer overflow in DetailsTested Version: grid = "1.0.0" expand_rows() computes the new backing length using unchecked arithmetic:
If rows * self.cols or the subsequent addition overflows usize, the result wraps in release builds and self.data may be resized to a length much smaller than logically required. After that, if the grid is in ColumnMajor order, the function performs in-place rotation using indices derived from:
These computations also rely on the assumption that the backing storage has been resized to the correct length. Once the earlier length computation has wrapped, this assumption no longer holds, so the function may operate on invalid ranges or otherwise enter an inconsistent state. Finally, the function updates logical metadata with:
As a result, the grid can end up with logical dimensions that no longer match the actual backing storage. Subsequent safe API calls such as get() may then rely on corrupted metadata and reach unsafe internal accesses, resulting in invalid unchecked access and Undefined Behavior. PoC
Impact
Fixed in
1.0.1
References Updated Sep 10, 2026 · Source: OSV.dev |
1.0.0
unknown
Dependencies (4)
|
|
0.18.0
unknown
1 CVE
CVE-2026-42199
GHSA-38c5-483c-4qqp
Apr 24, 2026
Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
6.2
/ 10
Medium
Local
Low
None
None
Unchanged
None
None
High
SummaryAn integer overflow in DetailsTested Version: grid = "1.0.0" expand_rows() computes the new backing length using unchecked arithmetic:
If rows * self.cols or the subsequent addition overflows usize, the result wraps in release builds and self.data may be resized to a length much smaller than logically required. After that, if the grid is in ColumnMajor order, the function performs in-place rotation using indices derived from:
These computations also rely on the assumption that the backing storage has been resized to the correct length. Once the earlier length computation has wrapped, this assumption no longer holds, so the function may operate on invalid ranges or otherwise enter an inconsistent state. Finally, the function updates logical metadata with:
As a result, the grid can end up with logical dimensions that no longer match the actual backing storage. Subsequent safe API calls such as get() may then rely on corrupted metadata and reach unsafe internal accesses, resulting in invalid unchecked access and Undefined Behavior. PoC
Impact
Fixed in
1.0.1
References Updated Sep 10, 2026 · Source: OSV.dev |
0.18.0
unknown
Dependencies (4)
|
|
0.17.0
unknown
1 CVE
CVE-2026-42199
GHSA-38c5-483c-4qqp
Apr 24, 2026
Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
6.2
/ 10
Medium
Local
Low
None
None
Unchanged
None
None
High
SummaryAn integer overflow in DetailsTested Version: grid = "1.0.0" expand_rows() computes the new backing length using unchecked arithmetic:
If rows * self.cols or the subsequent addition overflows usize, the result wraps in release builds and self.data may be resized to a length much smaller than logically required. After that, if the grid is in ColumnMajor order, the function performs in-place rotation using indices derived from:
These computations also rely on the assumption that the backing storage has been resized to the correct length. Once the earlier length computation has wrapped, this assumption no longer holds, so the function may operate on invalid ranges or otherwise enter an inconsistent state. Finally, the function updates logical metadata with:
As a result, the grid can end up with logical dimensions that no longer match the actual backing storage. Subsequent safe API calls such as get() may then rely on corrupted metadata and reach unsafe internal accesses, resulting in invalid unchecked access and Undefined Behavior. PoC
Impact
Fixed in
1.0.1
References Updated Sep 10, 2026 · Source: OSV.dev |
0.17.0
unknown
Dependencies (4)
|
|
0.16.2
unknown
|
0.16.2
unknown
Dependencies (4)
|
|
0.16.1
unknown
|
0.16.1
unknown
Dependencies (4)
|
|
0.16.0
unknown
|
0.16.0
unknown
Dependencies (4)
|
|
0.15.0
unknown
|
0.15.0
unknown
Dependencies (4)
|
|
0.14.0
unknown
|
0.14.0
unknown
Dependencies (4)
|
|
0.13.0
unknown
|
0.13.0
unknown
Dependencies (4)
|
|
0.12.0
unknown
|
0.12.0
unknown
Dependencies (4)
|
|
0.11.0
unknown
|
0.11.0
unknown
Dependencies (4)
|
|
0.10.0
unknown
|
0.10.0
unknown
Dependencies (2)
|
|
0.9.0
unknown
|
0.9.0
unknown
Dependencies (3)
|
|
0.8.1
unknown
|
0.8.1
unknown
Dependencies (3)
|
|
0.8.0
unknown
|
0.8.0
unknown
Dependencies (3)
|
|
0.7.0
unknown
|
0.7.0
unknown
Dependencies (3)
|
|
0.6.0
unknown
|
0.6.0
unknown
Dependencies (3)
|
|
0.5.0
unknown
|
0.5.0
unknown
Dependencies (3)
|
|
0.4.0
unknown
|
0.4.0
unknown
Dependencies (2)
|
|
0.3.0
unknown
|
0.3.0
unknown
Dependencies (2)
|
|
0.2.3
unknown
|
0.2.3
unknown
Dependencies (2)
|
|
0.2.2
unknown
|
0.2.2
unknown
Dependencies (2)
|
|
0.2.1
unknown
|
0.2.1
unknown
Dependencies (2)
|
|
0.2.0
unknown
|
0.2.0
unknown
Dependencies (2)
|
|
0.1.1
unknown
|
0.1.1
unknown
|
|
0.1.0
unknown
|
0.1.0
unknown
|