CVE-2026-49206 rapidcsv: Integer overflow in iterator arithmetic causes out-of-bounds access
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
d99kris
rapidcsv
영향 받는 버전
- 8.99 미만
해결 버전
- 8.99 이상
참고 자료 4건
- github.com https://github.com/d99kris/rapidcsv/commit/68f57cc6c83d5e0992904398822453489d8dfac1 (새 창)
- github.com https://github.com/d99kris/rapidcsv/issues/220 (새 창)
- github.com https://github.com/d99kris/rapidcsv/releases/tag/v8.99 (새 창)
- github.com https://github.com/d99kris/rapidcsv/security/advisories/GHSA-v83v-8j5q-6553 (새 창)