Live threats

All CVEs / Imagemagick

CVE-2025-57803Imagemagick

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
—
Auth required
Yes
Published
Aug 26, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122, CWE-190
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-28 and 7.1.2-2 for ImageMagick's 32-bit build, a 32-bit integer overflow in the BMP encoder’s scanline-stride computation collapses bytes_per_line (stride) to a tiny value while the per-row writer still emits 3 × width bytes for 24-bpp images. The row base pointer advances using the (overflowed) stride, so the first row immediately writes past its slot and into adjacent heap memory with attacker-controlled bytes. This is a classic, powerful primitive for heap corruption in common auto-convert pipelines. This issue has been patched in versions 6.9.13-28 and 7.1.2-2.

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.8.1 14.8.1 dotnet add package Magick.NET-Q16-AnyCPU --version 14.8.1
NuGet Magick.NET-Q16-HDRI-AnyCPU < 14.8.1 14.8.1 dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.8.1
NuGet Magick.NET-Q16-HDRI-x86 < 14.8.1 14.8.1 dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.8.1
NuGet Magick.NET-Q16-x86 < 14.8.1 14.8.1 dotnet add package Magick.NET-Q16-x86 --version 14.8.1
NuGet Magick.NET-Q8-AnyCPU < 14.8.1 14.8.1 dotnet add package Magick.NET-Q8-AnyCPU --version 14.8.1
NuGet Magick.NET-Q8-x86 < 14.8.1 14.8.1 dotnet add package Magick.NET-Q8-x86 --version 14.8.1

Per OSV / GitHub Advisories (GHSA-mxvv-97wh-cfmm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
imagemagickimagemagick< 6.9.13-28
imagemagickimagemagick≥ 7.0.0-0 < 7.1.2-2

Official advisories

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

Official sources

References

Links published by the sources. Open them with care.