| 标题 | libvips 8.19.0(7fab325d2) Improper Validation of Array Index |
|---|
| 描述 | 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`. |
|---|
| 来源 | ⚠️ https://github.com/libvips/libvips/issues/4874 |
|---|
| 用户 | Niebelungen (UID 95430) |
|---|
| 提交 | 2026-02-15 10時49分 (4 月前) |
|---|
| 管理 | 2026-02-24 20時54分 (9 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 347653 [libvips 直到 8.18.0 csvload.c vips_foreign_load_csv_build 内存损坏] |
|---|
| 积分 | 20 |
|---|