CVE-2025-57807Imagemagick
Critical 9.8 No auth needed
Follow: this CVE · Imagemagick · Imagemagick We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Sep 5, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/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. ImageMagick versions lower than 14.8.2 include insecure functions: SeekBlob(), which permits advancing the stream offset beyond the current end without increasing capacity, and WriteBlob(), which then expands by quantum + length (amortized) instead of offset + length, and copies to data + offset. When offset ≫ extent, the copy targets memory beyond the allocation, producing a deterministic heap write on 64-bit builds. No 2⁶⁴ arithmetic wrap, external delegates, or policy settings are required. This is fixed in version 14.8.2.
What to do
- Apply the vendor's security update for Imagemagick.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | Magick.NET-Q16-arm64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q16-arm64 --version 14.8.2 |
| NuGet | Magick.NET-Q16-HDRI-arm64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.8.2 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.8.2 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q16-HDRI-OpenMP-x64 --version 14.8.2 |
| NuGet | Magick.NET-Q16-HDRI-x64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.8.2 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.8.2 |
| NuGet | Magick.NET-Q16-OpenMP-x64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.8.2 |
| NuGet | Magick.NET-Q16-x64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q16-x64 --version 14.8.2 |
| NuGet | Magick.NET-Q8-arm64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q8-arm64 --version 14.8.2 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.8.2 |
| NuGet | Magick.NET-Q8-OpenMP-x64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.8.2 |
| NuGet | Magick.NET-Q8-x64 |
< 14.8.2 |
14.8.2 |
dotnet add package Magick.NET-Q8-x64 --version 14.8.2 |
Per OSV / GitHub Advisories (GHSA-23hg-53q6-hqfg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| imagemagick | imagemagick | < 6.9.13-29 |
| imagemagick | imagemagick | ≥ 7.0.0-0 < 7.1.2-3 |
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 Mitigation Vendor Advisory
- lists.debian.org