| 제목 | 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. PM 04:00 (4 개월 ago) |
|---|
| 모더레이션 | 2026. 02. 26. PM 05:33 (11 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 348010 [libvips 8.19.0 bandrank.c vips_bandrank_build index 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|