CVE-2025-57803Imagemagick
High 8.8
Follow: this CVE · Imagemagick · Imagemagick We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 26, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- 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.
What to do
- Apply the vendor's security update for Imagemagick.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| imagemagick | imagemagick | < 6.9.13-28 |
| imagemagick | imagemagick | ≥ 7.0.0-0 < 7.1.2-2 |
Official advisories
- Security update for ImageMagick · SUSE · SUSE-SU-2025:21211-1 · Dec 15, 2025 Critical
- Security update for ImageMagick · SUSE · openSUSE-SU-2025:20162-1 · Dec 15, 2025 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory
- github.com Release Notes
- lists.debian.org