https://support.apple.com/en-us/HT207271
CoreGraphics
Impact: Viewing a maliciously crafted JPEG file may lead to arbitrary code execution
Description: A memory corruption issue was addressed through improved memory handling.
______________________________________________________________
So in other words, just viewing a JPEG can run arbitrary code.
Time to update!