提交 #758692: libvips 8.19.0(7fab325d2) Improper Validation of Array Index信息

标题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

Might our Artificial Intelligence support you?

Check our Alexa App!