{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "8.99"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "68f57cc6c83d5e0992904398822453489d8dfac1"
            }
          ],
          "repo": "https://github.com/d99kris/rapidcsv",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-v83v-8j5q-6553"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-190",
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49206.json"
  },
  "details": "rapidcsv is a C++ CSV parser library. Prior to 8.99, RemoveColumn, InsertColumn, RemoveRow, InsertRow, and GetColumnNames converted size_t indexes to int before adding them to std::vector iterators. On 64-bit systems, in a CSV matrix dimension containing more than 2^31 elements, an index above INT_MAX could wrap to a negative iterator offset and point before the start of the vector, causing undefined behavior, heap memory corruption, or a crash. Triggering the issue requires an extremely large in-memory document, requiring tens of gigabytes of memory at minimum, so typical CSV documents are not practically affected. This issue is fixed in version 8.99.",
  "id": "CVE-2026-49206",
  "modified": "2026-10-15T02:30:34.642408193Z",
  "published": "2026-10-14T15:44:43.286Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49206.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/d99kris/rapidcsv/commit/68f57cc6c83d5e0992904398822453489d8dfac1"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/d99kris/rapidcsv/issues/220"
    },
    {
      "type": "WEB",
      "url": "https://github.com/d99kris/rapidcsv/releases/tag/v8.99"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/d99kris/rapidcsv/security/advisories/GHSA-v83v-8j5q-6553"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49206"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "rapidcsv: Integer overflow in iterator arithmetic causes out-of-bounds access"
}