{"id":"CVE-2026-49206","published":"2026-10-14T15:44:43Z","modified":"2026-10-15T19:08:15Z","title":"rapidcsv: Integer overflow in iterator arithmetic causes out-of-bounds access","vendor":"d99kris","product":"rapidcsv","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00157,"percentile":0.04913,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/d99kris/rapidcsv/security/advisories/GHSA-v83v-8j5q-6553","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/d99kris/rapidcsv/issues/220","tags":["x_refsource_MISC"]},{"url":"https://github.com/d99kris/rapidcsv/commit/68f57cc6c83d5e0992904398822453489d8dfac1","tags":["x_refsource_MISC"]},{"url":"https://github.com/d99kris/rapidcsv/releases/tag/v8.99","tags":["x_refsource_MISC"]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":0.98},{"name":"CVSS severity","points":2.03}]},"vendorSlug":"d99kris","affectedVersions":[{"vendor":"d99kris","product":"rapidcsv","versions":["< 8.99"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-15T19:08:02.867667Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-101286","exploited":false,"provenance":"source"}}