Fedora Account System
Red Hat Associate
Red Hat Customer
Stack overflow via VLAs in GIMP's TIM loader. In load_image() in file-tim.c, file-controlled width, height, and clut_size values are used directly in several variable-length array declarations on the stack across multiple decode paths. A crafted TIM file can therefore force oversized stack allocations and memory corruption. - Function: load_image() - File: plug-ins/common/file-tim.c - Fix: https://gitlab.gnome.org/GNOME/gimp/-/commit/88a0a895 - Upstream issue: https://gitlab.gnome.org/GNOME/gimp/-/issues/16222 - Acknowledgment: bb1abu