Vulnerability 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.
CVSS Score
LOW
Related Weaknesses (CWE)
References
- https://github.com/d99kris/rapidcsv/commit/68f57cc6c83d5e0992904398822453489d8df
- https://github.com/d99kris/rapidcsv/issues/220
- https://github.com/d99kris/rapidcsv/releases/tag/v8.99
- https://github.com/d99kris/rapidcsv/security/advisories/GHSA-v83v-8j5q-6553
FAQ
What is CVE-2026-49206?
CVE-2026-49206 is a vulnerability with a CVSS score of 2.9 (LOW). 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. O...
How severe is CVE-2026-49206?
CVE-2026-49206 has been rated LOW with a CVSS base score of 2.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-49206?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.