Description of problem: tmpname_timestamper = estrjoin("", "/tmp/feh_", cppid, "_", basename, NULL); ... execlp("wget", "wget", "-N", "-O", tmpname_timestamper, newurl, quiet, (char*) NULL); If attacker knows PID of feh and knows the URL, it can create the link to any user file. wget would overwrite it. https://bugs.launchpad.net/ubuntu/+source/feh/+bug/607328 https://github.com/derf/feh/issues/#issue/32
*** This bug has been marked as a duplicate of bug 676389 ***