Technical impact
The flaw permits local attackers to inject content into the output of the MAGICK, XBM, XPM, and UIL encoders by supplying a crafted filename. This can result in additional headers or code being present in the generated image source. The CVE description does not confirm that the injected code will execute, so the exact consequence of the injection remains limited to the content of the image file.
Affected Systems
ImageMagick installations that are earlier than version 7.1.2-35 and that use one of the MAGICK, XBM, XPM, or UIL encoders are impacted. The vulnerability is confined to the encoder components, so any deployment that writes output to a directory where an attacker can control the filename is susceptible.
Risk and Exploitability
The CVSS score of 5.4 indicates moderate severity, and the vulnerability is not listed in CISA’s KEV catalogue. EPSS data is not available. The issue requires local access to the output directory and the ability to influence the filename; no remote attack vector is documented. Because the flaw allows injection of headers or code into the image source, the risk is moderate but could be significant if the resulting image is subsequently processed by privileged services.