CVE-2026-25797
February 24, 2026
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, the ps coders, responsible for writing PostScript files, fails to sanitize the input before writing it into the PostScript header. An attacker can provide a malicous file and inject arbitrary PostScript code. When the resulting file is processed by a printer or a viewer (like Ghostscript), the injected code is interpreted and executed. The html encoder does not properly escape strings that are written to in the html document. An attacker can provide a malicious file and injection arbitrary html code. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Affected Packages
https://github.com/ImageMagick/ImageMagick.git (GITHUB):
Affected version(s) >=7.0.1-0 <7.1.2-15Fix Suggestion:
Update to version 7.1.2-15https://github.com/ImageMagick/ImageMagick6.git (GITHUB):
Affected version(s) >=6.9.4-0 <6.9.13-40Fix Suggestion:
Update to version 6.9.13-40magick.net-q16-hdri-x64 (NUGET):
Affected version(s) >=6.8.9.101 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q16-arm64 (NUGET):
Affected version(s) >=8.6.0 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q16-openmp-x64 (NUGET):
Affected version(s) >=7.14.0 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q16-hdri-anycpu (NUGET):
Affected version(s) >=6.8.9.101 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q8-arm64 (NUGET):
Affected version(s) >=8.6.0 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q16-hdri-x86 (NUGET):
Affected version(s) >=6.8.9.101 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q16-anycpu (NUGET):
Affected version(s) >=6.8.8.1001 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q8-openmp-arm64 (NUGET):
Affected version(s) >=8.6.0 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q8-openmp-x64 (NUGET):
Affected version(s) >=7.14.0 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q16-hdri-arm64 (NUGET):
Affected version(s) >=8.6.0 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q16-openmp-arm64 (NUGET):
Affected version(s) >=8.6.0 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q8-x64 (NUGET):
Affected version(s) >=6.8.5.401 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q16-hdri-openmp-x64 (NUGET):
Affected version(s) >=7.14.0 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q16-hdri-openmp-arm64 (NUGET):
Affected version(s) >=8.6.0 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q8-x86 (NUGET):
Affected version(s) >=6.8.5.401 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q16-x86 (NUGET):
Affected version(s) >=6.8.5.401 <14.10.3Fix Suggestion:
Update to version 14.10.3magick.net-q8-anycpu (NUGET):
Affected version(s) >=6.8.8.1001 <14.10.3Fix Suggestion:
Update to version 14.10.3Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
LOW
Subsequent System Availability
LOW
CVSS v3
Base Score:
5.7
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.02