CVE-2026-49206
published low CVSS 3.1 · 2.9rapidcsv: Integer overflow in iterator arithmetic causes out-of-bounds access
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| d99kris | — | rapidcsv< 8.99 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.9 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| d99kris | rapidcsv | < 8.99 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-190 CWE-190: Integer Overflow or Wraparound
- CWE-787 CWE-787: Out-of-bounds Write
References
4Provider assertions
2GitHub_M · cna
rapidcsv: Integer overflow in iterator arithmetic causes out-of-bounds access
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 70b6c25615ed6933894666c4177aa032c17edf58a728c635af99f7a22874378e
- Ingested
- 15 Oct 2026, 20:29:31 UTC
- Source record
- Official CVE record