ImageMagick has a heap-buffer-overflow
Summary
While Processing a crafted TIFF file, imagemagick crashes.
Details
Following is the imagemagick version:
imagemagick_git/build_26jun23/bin/magick --version
Version: ImageMagick 7.1.1-13 (Beta) Q16-HDRI x86_64 56f478940:20230625 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI
Delegates (built-in): fontconfig freetype jbig jng jpeg lcms lzma pangocairo png tiff webp x xml zlib
Compiler: gcc (4.2)
PoC
issue can be replicated with following command with provided POC file(sent over email):
magick poc.tiff /dev/null
Impact
This can lead to application crash.
Credits
Please give credits to Hardik shah of Vehere (Dawn Treaders team)
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| .NET (NuGet) | Magick.NET-Q16-AnyCPU | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-arm64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-AnyCPU | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-arm64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-OpenMP-arm64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-OpenMP-x64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-x64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-HDRI-x86 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-OpenMP-arm64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-OpenMP-x64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-x64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q16-x86 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q8-AnyCPU | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q8-arm64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q8-OpenMP-arm64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q8-OpenMP-x64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q8-x64 | < 13.2.0 | 13.2.0 |
| .NET (NuGet) | Magick.NET-Q8-x86 | < 13.2.0 | 13.2.0 |
References
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L- Weakness (CWE)
CWE-122- Platform
- .NET (NuGet)
- Package
Magick.NET-Q16-AnyCPU, Magick.NET-Q16-arm64, Magick.NET-Q16-HDRI-AnyCPU- Disclosed
- 25.08.2025
- Updated
- 11.10.2026 11:23
Sources and licenses
OSV / GitHub Advisory Database - GHSA-fff3-4rp7-px97 - CC BY 4.0
Vulnerability history: Magick.NET-Q16-HDRI-AnyCPU
All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 165
- First → latest
- 09.2023 09.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- High 27
- Medium 99
- Low 39
Disclosures per year
- 2023: 1
- 2024: 0
- 2025: 15
- 2026: 149
-
ImageMagick has a heap-buffer-overflow this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.