CVE-2025-53101 — ImageMagick has a Stack Buffer Overflow in...
ImageMagick has a Stack Buffer Overflow in image.c
Summary
Advisory Timeline
- First published August 25, 2025 (413 days ago).
- Last revised September 10, 2026 — 381 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.7.0
dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.7.0
dotnet add package Magick.NET-Q16-arm64 --version 14.7.0
dotnet add package Magick.NET-Q16-x86 --version 14.7.0
dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.7.0
dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.7.0
dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.7.0
dotnet add package Magick.NET-Q16-HDRI-OpenMP-x64 --version 14.7.0
dotnet add package Magick.NET-Q8-x86 --version 14.7.0
dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.7.0
dotnet add package Magick.NET-Q8-arm64 --version 14.7.0
dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.7.0
dotnet add package Magick.NET-Q8-AnyCPU --version 14.7.0
dotnet add package Magick.NET-Q8-x64 --version 14.7.0
dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.7.0
dotnet add package Magick.NET-Q16-AnyCPU --version 14.7.0
dotnet add package Magick.NET-Q16-x64 --version 14.7.0
dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.7.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (18)
Affects 1 ecosystem: nuget (18).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| Magick.NET-Q16-HDRI-x86 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+193 more) | 14.7.0 |
| Magick.NET-Q8-OpenMP-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+41 more) | 14.7.0 |
| Magick.NET-Q16-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+41 more) | 14.7.0 |
| Magick.NET-Q16-x86 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+212 more) | 14.7.0 |
| Magick.NET-Q8-OpenMP-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+93 more) | 14.7.0 |
| Magick.NET-Q16-HDRI-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+193 more) | 14.7.0 |
| Magick.NET-Q16-HDRI-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+41 more) | 14.7.0 |
| Magick.NET-Q16-HDRI-OpenMP-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+93 more) | 14.7.0 |
| Magick.NET-Q8-x86 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+212 more) | 14.7.0 |
| Magick.NET-Q16-HDRI-AnyCPU | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+193 more) | 14.7.0 |
| Magick.NET-Q8-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+41 more) | 14.7.0 |
| Magick.NET-Q16-OpenMP-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+93 more) | 14.7.0 |
| Magick.NET-Q8-AnyCPU | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+196 more) | 14.7.0 |
| Magick.NET-Q8-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+212 more) | 14.7.0 |
| Magick.NET-Q16-HDRI-OpenMP-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+41 more) | 14.7.0 |
| Magick.NET-Q16-AnyCPU | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+196 more) | 14.7.0 |
| Magick.NET-Q16-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+212 more) | 14.7.0 |
| Magick.NET-Q16-OpenMP-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+41 more) | 14.7.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-124
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.4 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh3h-j545-h8c9WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-53101ADVISORY
- https://github.com/ImageMagick/ImageMagick/commit/66dc8f51c11b0ae1f1cdeacd381c3e9a4de69774WEB
- https://github.com/ImageMagick/ImageMagick6/commit/643deeb60803488373cd4799b24d5786af90972eWEB
- https://github.com/ImageMagick/ImageMagickPACKAGE
- https://github.com/dlemstra/Magick.NET/releases/tag/14.7.0WEB
- https://lists.debian.org/debian-lts-announce/2025/09/msg00012.htmlWEB
Frequently Asked Questions
- What is CVE-2025-53101?
- ImageMagick has a Stack Buffer Overflow in image.c This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.4/10).
- How do I check if my project is affected by CVE-2025-53101?
- CVE-2025-53101 affects Magick.NET-Q16-HDRI-x86, Magick.NET-Q8-OpenMP-arm64 and Magick.NET-Q16-arm64 (and 15 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-53101 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2025-55298HIGH
ImageMagick has a Format String Bug in InterpretImageFilename leads to arbitrary code execution
- CVE-2026-40169MEDIUM
ImageMagick has a heap buffer overflow (WRITE) in the YAML and JSON encoders.
- CVE-2026-31853MEDIUM
ImageMagick is vulnerable to heap buffer over-write on 32-bit systems in SFW decoder
- CVE-2026-40310MEDIUM
ImageMagick has a heap out-of-bounds write in JP2 encoder
- CVE-2026-53462MEDIUM
ImageMagick has a Use-After-Free when allocation in CheckPrimitiveExtent fails
- CVE-2026-26983MEDIUM
ImageMagick: Invalid MSL <map> can result in a use after free
- CVE-2026-61866LOW
ImageMagick: Memory Leak in JNG encoder when a blob could not be opened
- CVE-2026-61868LOW
ImageMagick: Memory Leak in YUV decoder when opening of blob fails
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies