# CVE-2026-49206: rapidcsv: Integer overflow in iterator arithmetic causes out-of-bounds access

- Severity: Low 2.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-14T15:44:43.286Z
- Modified: 2026-10-16T20:04:29.760Z
- Weaknesses: CWE-190, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- d99kris rapidcsv: < 8.99

## 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>

## Sources

- CVE List: [CVE-2026-49206](https://www.cve.org/CVERecord?id=CVE-2026-49206), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-49206](https://nvd.nist.gov/vuln/detail/CVE-2026-49206), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-49206 · Whole record: https://cve.day/CVE-2026-49206.json · Rebuilt by cve.day 2026-11-25T22:59:44.696Z
