CVE-2026-49206
rapidcsv is a C++ CSV parser library. Prior to 8.99, RemoveColumn, …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/d99kris/rapidcsv/commit/68f57cc6c83d5e0992904398822453489d8dfac1
- github.com/d99kris/rapidcsv/issues/220
- github.com/d99kris/rapidcsv/releases/tag/v8.99
- github.com/d99kris/rapidcsv/security/advisories/GHSA-v83v-8j5q-6553
- nvd.nist.gov/vuln/detail/CVE-2026-49206
- cve.org/CVERecord?id=CVE-2026-49206
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.