Jhead 3.06.0.1 allows attackers to execute arbitrary OS commands by placing them in a JPEG filename and then using the regeneration -rgt50 option.
https://www.debian.org/security/2022/dsa-5294
https://lists.debian.org/debian-lts-announce/2022/12/msg00004.html
https://github.com/Matthias-Wandel/jhead/pull/57
https://github.com/Matthias-Wandel/jhead/blob/63ce118c6a59ea64ac357236a11a47aaf569d622/jhead.c#L788