Live threats

All CVEs / Imagemagick

CVE-2026-25797Imagemagick

Medium 5.3

Priority
32
CVSS 3.1
5.3
EPSS
—
Auth required
Yes
Published
Feb 24, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Imagemagick.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet Magick.NET-Q16-AnyCPU < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-AnyCPU --version 14.10.3
NuGet Magick.NET-Q16-arm64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-arm64 --version 14.10.3
NuGet Magick.NET-Q16-HDRI-AnyCPU < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.10.3
NuGet Magick.NET-Q16-HDRI-arm64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.10.3
NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.10.3
NuGet Magick.NET-Q16-HDRI-OpenMP-x64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-HDRI-OpenMP-x64 --version 14.10.3
NuGet Magick.NET-Q16-HDRI-x64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.10.3
NuGet Magick.NET-Q16-HDRI-x86 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.10.3
NuGet Magick.NET-Q16-OpenMP-arm64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.10.3
NuGet Magick.NET-Q16-OpenMP-x64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.10.3
NuGet Magick.NET-Q16-OpenMP-x86 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-OpenMP-x86 --version 14.10.3
NuGet Magick.NET-Q16-x86 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q16-x86 --version 14.10.3
NuGet Magick.NET-Q8-AnyCPU < 14.10.3 14.10.3 dotnet add package Magick.NET-Q8-AnyCPU --version 14.10.3
NuGet Magick.NET-Q8-arm64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q8-arm64 --version 14.10.3
NuGet Magick.NET-Q8-OpenMP-arm64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.10.3
NuGet Magick.NET-Q8-OpenMP-x64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.10.3
NuGet Magick.NET-Q8-x64 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q8-x64 --version 14.10.3
NuGet Magick.NET-Q8-x86 < 14.10.3 14.10.3 dotnet add package Magick.NET-Q8-x86 --version 14.10.3

Per OSV / GitHub Advisories (GHSA-rw6c-xp26-225v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
imagemagickimagemagick< 6.9.13-40
imagemagickimagemagick≥ 7.0.0-0 < 7.1.2-15

Official advisories

Also: SUSE (+9)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.