| Title | libvips 8.19.0(7fab325d2) NULL Pointer Dereference (CWE-476) |
|---|
| Description | 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). |
|---|
| Source | ⚠️ https://github.com/libvips/libvips/issues/4875 |
|---|
| User | Niebelungen (UID 95430) |
|---|
| Submission | 02/15/2026 10:48 (4 months ago) |
|---|
| Moderation | 02/24/2026 20:54 (9 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 347652 [libvips up to 8.18.0 matrixload.c vips_foreign_load_matrix_header null pointer dereference] |
|---|
| Points | 20 |
|---|