Code Injection in ImageMagick - #VU158774
Published: November 3, 2026
Vulnerability details
The vulnerability allows a local user to inject additional headers or arbitrary code into output generated by ImageMagick.
The vulnerability exists due to improper control of code generation in the MAGICK, XBM, XPM and UIL encoders when encoding images using user-controlled filenames and directory names. A local user can manipulate the filename and directory in an accessible encoding location to inject additional headers or code into the generated output.