| Título | libvips 8.19.0(7fab325d2) Improper Validation of Array Index |
|---|
| Descrição | In `libvips/foreign/csvload.c`, function `vips_foreign_load_csv_build()`, bytes from CLI options (`--whitespace` / `--separator`) are used as array indexes (`csv->whitemap[(int)*p]`, `csv->sepmap[(int)*p]`). On platforms with signed `char`, non-ASCII UTF-8 bytes become negative indexes, writing before 256-byte maps and corrupting adjacent memory. The bug is reachable from `vips csvload` and reproducible with ASAN as `heap-buffer-overflow`. |
|---|
| Fonte | ⚠️ https://github.com/libvips/libvips/issues/4874 |
|---|
| Utilizador | Niebelungen (UID 95430) |
|---|
| Submissão | 15/02/2026 10h49 (há 4 meses) |
|---|
| Moderação | 24/02/2026 20h54 (9 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 347653 [libvips até 8.18.0 csvload.c vips_foreign_load_csv_build Excesso de tampão] |
|---|
| Pontos | 20 |
|---|