CVE-2026-49206

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

No configuration.

History

14 Oct 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-14 16:17

Updated : 2026-10-16 20:04


NVD link : CVE-2026-49206

Mitre link : CVE-2026-49206

CVE.ORG link : CVE-2026-49206


JSON object : View

Products Affected

No product.

CWE
CWE-190

Integer Overflow or Wraparound

CWE-787

Out-of-bounds Write