← Back to CVE Explorer

CVE-2026-42199

Full vulnerability record from the local CVENow database.

Description

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.

Severity
MEDIUM
CVSS score
6.2 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-05-08 22:16:31.547000
Last modified
2026-10-26 18:10:00.173000
View original CVE JSON
{
  "id": "CVE-2026-42199",
  "sourceIdentifier": "[email protected]",
  "published": "2026-05-08T22:16:31.547",
  "lastModified": "2026-10-26T18:10:00.173",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Grid es una cuadrícula de estructura de datos para Rust. Desde la versión 0.17.0 hasta antes de la versión 1.0.1, un desbordamiento de entero en Grid::expand_rows() puede corromper la relación entre las dimensiones lógicas de la cuadrícula y su almacenamiento de respaldo. Después de que el invariante interno se rompe, la API segura get() puede invocar get_unchecked() con un índice inválido, lo que resulta en Comportamiento Indefinido. Este problema ha sido parcheado en la versión 1.0.1."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "becheran",
          "product": "grid",
          "versions": [
            {
              "version": ">= 0.17.0, < 1.0.1",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 6.2,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.5,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-05-11T16:00:17.428184Z",
          "id": "CVE-2026-42199",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-190"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/becheran/grid/commit/be213bd3528727148bef2d523c89e95d1fd9c072",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/becheran/grid/releases/tag/v1.0.1",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/becheran/grid/security/advisories/GHSA-38c5-483c-4qqp",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/becheran/grid/security/advisories/GHSA-38c5-483c-4qqp",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}