提交 #758691: libvips 8.19.0(7fab325d2) NULL Pointer Dereference (CWE-476)信息

标题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

Want to stay up to date on a daily basis?

Enable the mail alert feature now!