{"id":"CVE-2026-49206","state":"PUBLISHED","title":"rapidcsv: Integer overflow in iterator arithmetic causes out-of-bounds access","description":"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.","publishedAt":"2026-10-14T15:44:43.286Z","updatedAt":"2026-10-15T19:08:15.368Z","severity":{"score":2.9,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["d99kris rapidcsv"],"affected":[{"vendor":"d99kris","product":"rapidcsv","versions":[{"version":"< 8.99","status":"affected"}]}],"references":["https://github.com/d99kris/rapidcsv/security/advisories/GHSA-v83v-8j5q-6553","https://github.com/d99kris/rapidcsv/issues/220","https://github.com/d99kris/rapidcsv/commit/68f57cc6c83d5e0992904398822453489d8dfac1","https://github.com/d99kris/rapidcsv/releases/tag/v8.99"],"weaknesses":["CWE-190","CWE-787"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49206.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49206","state":"PUBLISHED","datePublished":"2026-10-14T15:44:43.286Z","dateUpdated":"2026-10-15T19:08:15.368Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-28T03:42:34.340Z"},"containers":{"cna":{"title":"rapidcsv: Integer overflow in iterator arithmetic causes out-of-bounds access","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"d99kris","product":"rapidcsv","versions":[{"version":"< 8.99","status":"affected"}]}],"references":[{"url":"https://github.com/d99kris/rapidcsv/security/advisories/GHSA-v83v-8j5q-6553","name":"https://github.com/d99kris/rapidcsv/security/advisories/GHSA-v83v-8j5q-6553","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/d99kris/rapidcsv/issues/220","name":"https://github.com/d99kris/rapidcsv/issues/220","tags":["x_refsource_MISC"]},{"url":"https://github.com/d99kris/rapidcsv/commit/68f57cc6c83d5e0992904398822453489d8dfac1","name":"https://github.com/d99kris/rapidcsv/commit/68f57cc6c83d5e0992904398822453489d8dfac1","tags":["x_refsource_MISC"]},{"url":"https://github.com/d99kris/rapidcsv/releases/tag/v8.99","name":"https://github.com/d99kris/rapidcsv/releases/tag/v8.99","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":2.9,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"CWE-190: Integer Overflow or Wraparound","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-14T15:44:43.286Z"},"source":{"advisory":"GHSA-v83v-8j5q-6553","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-15T19:08:02.867667Z","id":"CVE-2026-49206","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T19:08:15.368Z"}}]}}}