mittel6.2
CVE-2026-42199
Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | grid | >= 0.17.0, <= 1.0.0 | 1.0.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-38c5-483c-4qqp
- https://github.com/becheran/grid/security/advisories/GHSA-38c5-483c-4qqp
- https://github.com/becheran/grid/commit/be213bd3528727148bef2d523c89e95d1fd9c072
- https://nvd.nist.gov/vuln/detail/CVE-2026-42199
- https://github.com/becheran/grid/releases/tag/v1.0.1