If using linux then some users might still be on Gimp 2.10.x and GEGL 4.48 so update if you can.
however, seen many like this over the years
quote
This vulnerability resides in the GEGL library and could allow malicious users to execute arbitrary code on affected systems via appropriately crafted files. Edit: I did not read far enough

a specially crafted, malicious file (such as HDR, GIF, or farbfeld)
yes, avoid those dubious gif animations.