| 标题 | libvips 8.19.0(7fab325d2) Out-of-Bounds Read |
|---|
| 描述 | In `libvips/conversion/unpremultiply.c`, function `vips_unpremultiply_build()` does not verify that user-provided `alpha_band` is smaller than `in->Bands`. In `vips_unpremultiply_gen()` (`UNPRE_MANY` path), `p[alpha_band]` and `q[alpha_band]` are accessed directly, leading to out-of-bounds memory access for oversized `--alpha-band` values. The issue is reachable via normal `vips unpremultiply` CLI usage and is reproducible with ASAN as `heap-buffer-overflow`. |
|---|
| 来源 | ⚠️ https://github.com/libvips/libvips/issues/4881 |
|---|
| 用户 | Niebelungen (UID 95430) |
|---|
| 提交 | 2026-02-15 16時01分 (4 月前) |
|---|
| 管理 | 2026-02-26 17時33分 (11 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 348011 [libvips 8.19.0 unpremultiply.c vips_unpremultiply_build alpha_band 信息公开] |
|---|
| 积分 | 20 |
|---|