| Titre | libvips 8.19.0(7fab325d2) Signed to Unsigned Conversion Error |
|---|
| Description | 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`. |
|---|
| La source | ⚠️ https://github.com/libvips/libvips/issues/4876 |
|---|
| Utilisateur | Niebelungen (UID 95430) |
|---|
| Soumission | 15/02/2026 10:47 (il y a 4 mois) |
|---|
| Modérer | 24/02/2026 20:54 (9 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 347651 [libvips jusqu’à 8.18.0 matrixload.c buffer overflow] |
|---|
| Points | 20 |
|---|