imagemagick’s libmagick library, under certain circumstances, creates
temporary files without taking appropriate security precautions. This
vulnerability could be exploited by a local user to create or
overwrite files with the privileges of another user who is invoking a
program using this library.
For the stable distribution (woody) this problem has been fixed in
version 4:5.4.4.5-1woody1.
For the unstable distribution (sid) this problem has been fixed in
version 4:5.5.7-1.
We recommend that you update your imagemagick package.