CVE-2026-42199

Source
https://cve.org/CVERecord?id=CVE-2026-42199
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42199.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42199
Aliases
Downstream
CGA (4)
Published
2026-05-08T21:15:16Z
Modified
2026-10-28T02:30:53Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Grid: Integer Overflow in Grid::expand_rows Leads to Safe-API Undefined Behavior
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42199.json"
}
References

Affected packages

Git / github.com/becheran/grid

Affected ranges

Type
GIT
Repo
https://github.com/becheran/grid
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0.17.0"
                },
                {
                    "fixed": "1.0.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "be213bd3528727148bef2d523c89e95d1fd9c072"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v1.0.1",
            "range": [
                {
                    "fixed": "8caa81908f77d898c9b9c764b374d61f61cd6a20"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42199.json"