| 标题 | libvips 8.19.0(7fab325d2) Integer Overflow or Wraparound |
|---|
| 描述 | In `libvips/conversion/extract.c`, function `vips_extract_band_build()` validates range using signed addition (`extract->band + extract->n > bands`). Large attacker-controlled values can overflow signed `int` and bypass this check. `vips_extract_band_buffer()` then computes `p = in[0] + extract->band * es` and dereferences the invalid pointer in the copy loop, causing out-of-bounds read and crash. The issue is reachable from normal `vips extract_band` CLI usage (with `--vips-max-coord` set high) and is reproducible with ASAN (`SEGV` at `extract.c:378`). |
|---|
| 来源 | ⚠️ https://github.com/libvips/libvips/issues/4880 |
|---|
| 用户 | Niebelungen (UID 95430) |
|---|
| 提交 | 2026-02-15 16時02分 (4 月前) |
|---|
| 管理 | 2026-02-26 17時33分 (11 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 348012 [libvips 8.19.0 extract.c vips_extract_band_build extract_band 信息公开] |
|---|
| 积分 | 20 |
|---|