CVE-2025-68469
Low · 3.3ImageMagick has a heap-buffer-overflow
CVSS
3.3
EPSS
0.2%
Published
Aug 25, 2025
CISA due date
—
Cloudanix analysis
A flaw in widely used image software can make programs that handle pictures stop working if someone feeds them a specially made image file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A buffer overflow condition in ImageMagick's TIFF processing code causes the application to crash when a specially crafted TIFF file is parsed.
Why it matters to the business
Applications that rely on ImageMagick for image handling may experience unexpected downtime or service interruptions when processing untrusted image files.
How an attack unfolds
An attacker creates a malicious TIFF file designed to trigger the overflow during parsing, then supplies it to any workflow or application that invokes ImageMagick for TIFF decoding, resulting in a crash.
How to fix it
Upgrade ImageMagick to the fixed commit 562a80c6d23910a20cf964a105c729d94307ca16 or later release containing the patch.
How to confirm the fix worked
Confirm the installed version includes commit 562a80c6d23910a20cf964a105c729d94307ca16 and test processing of known-good and boundary TIFF files to verify stability.
Typical attack path
- Generate a crafted TIFF file that exploits the buffer overflow
- Deliver the file to a target system or service using ImageMagick
- Trigger ImageMagick to process the TIFF file
- Cause application or service crash
How to detect it
Review application and system logs for ImageMagick process crashes or segmentation faults occurring during TIFF file handling.
What your security team should do
- Prioritize updating all ImageMagick installations to the patched commit
- Restrict ImageMagick usage to trusted input sources until patched
- Monitor for application crashes during image processing workflows
The record
While Processing a crafted TIFF file, imagemagick crashes.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| NuGet | Magick.NET-Q16-AnyCPU | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-HDRI-arm64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-HDRI-x64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-HDRI-x86 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-OpenMP-arm64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-OpenMP-x64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-arm64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-x64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q16-x86 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q8-AnyCPU | 0 | 13.2.0 |
| NuGet | Magick.NET-Q8-OpenMP-arm64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q8-OpenMP-x64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q8-arm64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q8-x64 | 0 | 13.2.0 |
| NuGet | Magick.NET-Q8-x86 | 0 | 13.2.0 |
| Chainguard | imagemagick-6-dev | 0 | 6.9.13.37-r0 |
| Chainguard | imagemagick-6-doc | 0 | 6.9.13.37-r0 |
| Chainguard | imagemagick-6-static | 0 | 6.9.13.37-r0 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | ImageMagick | 0 | 6.8.8.1-71.221.1 |
Related vulnerabilities
- CVE-2026-27799 ImageMagick is free and open-source software used for editing and manipulating digital… Also affects Magick.NET-Q16-AnyCPU
- CVE-2026-27798 ImageMagick is free and open-source software used for editing and manipulating digital… Also affects Magick.NET-Q16-AnyCPU
- GHSA-r99p-5442-q2x2 ImageMagick has a heap Buffer Over-read in its DJVU image format handler Also affects Magick.NET-Q16-AnyCPU
- GHSA-qpgx-jfcq-r59f ImageMagick: Heap Buffer Over-read in WaveletDenoise when processing small images Also affects Magick.NET-Q16-AnyCPU
- GHSA-gq5v-qf8q-fp77 ImageMagick: Heap-based Buffer Overflow in GetPixelIndex due to metadata-cache… Also affects Magick.NET-Q16-AnyCPU
- GHSA-wfx3-6g53-9fgc ImageMagick: Memory Leak in multiple coders that write raw pixel data Also affects Magick.NET-Q16-AnyCPU
- GHSA-3q5f-gmjc-38r8 ImageMagick: Memory leak in coders/txt.c without freetype Also affects Magick.NET-Q16-AnyCPU
- GHSA-xpg8-7m6m-jf56 ImageMagick: SVG-to-MVG Command Injection via coders/svg.c Also affects Magick.NET-Q16-AnyCPU