| शीर्षक | 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) |
|---|
| सबमिशन | 15/02/2026 04:00 PM (4 महीनों पहले) |
|---|
| संयम | 26/02/2026 05:33 PM (11 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 348010 [libvips 8.19.0 bandrank.c vips_bandrank_build index बफ़र ओवरफ़्लो] |
|---|
| अंक | 20 |
|---|