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

标题libvips 8.19.0(7fab325d2) Improper Validation of Array Index
描述In `libvips/conversion/bandrank.c`, function `vips_bandrank_build()` accepts user-controlled `index` but does not validate it against the runtime input count (`bandary->n`) when explicitly set. `vips_bandrank_buffer()` later uses `sort[bandrank->index]` directly, causing out-of-bounds access when `--index` exceeds the number of input images. The bug is reachable from normal `vips bandrank` CLI usage and is reproducible with ASAN as `heap-buffer-overflow`.
来源⚠️ https://github.com/libvips/libvips/issues/4878
用户
 Niebelungen (UID 95430)
提交2026-02-15 16時00分 (4 月前)
管理2026-02-26 17時33分 (11 days later)
状态已接受
VulDB条目348010 [libvips 8.19.0 bandrank.c vips_bandrank_build index 内存损坏]
积分20

Interested in the pricing of exploits?

See the underground prices here!