| 标题 | libvips 8.19.0(7fab325d2) Signed to Unsigned Conversion Error |
|---|
| 描述 | In `libvips/foreign/matrixload.c`, function `vips_foreign_load_matrix_file_is_a()`, the return value of `vips__get_bytes()` (signed, may be `-1`) is stored in `guint64 bytes`. On read error, `-1` is converted to a very large unsigned value, and `line[bytes] = '\0'` performs a stack underflow write. The bug is reachable from the `vips` CLI loader detection path and is reproducible with ASAN as `stack-buffer-overflow`. |
|---|
| 来源 | ⚠️ https://github.com/libvips/libvips/issues/4876 |
|---|
| 用户 | Niebelungen (UID 95430) |
|---|
| 提交 | 2026-02-15 10時47分 (4 月前) |
|---|
| 管理 | 2026-02-24 20時54分 (9 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 347651 [libvips 直到 8.18.0 matrixload.c 内存损坏] |
|---|
| 积分 | 20 |
|---|