| 标题 | libvips 8.19.0(7fab325d2) NULL Pointer Dereference (CWE-476) |
|---|
| 描述 | In `libvips/foreign/matrixload.c`, function `vips_foreign_load_matrix_header()`, the return value of `vips_sbuf_get_line_copy()` is not checked for `NULL` before passing it to `parse_matrix_header()`. `parse_matrix_header()` then calls `strchr(line, ...)`, causing a NULL dereference on empty `.mat` input. The issue is reachable from `vips matrixload` and reproducible with ASAN as `SEGV` (denial of service). |
|---|
| 来源 | ⚠️ https://github.com/libvips/libvips/issues/4875 |
|---|
| 用户 | Niebelungen (UID 95430) |
|---|
| 提交 | 2026-02-15 10時48分 (4 月前) |
|---|
| 管理 | 2026-02-24 20時54分 (9 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 347652 [libvips 直到 8.18.0 matrixload.c vips_foreign_load_matrix_header 拒绝服务] |
|---|
| 积分 | 20 |
|---|