ImageMagick has an integer overflow in DIB coder can result in out of bounds read or write
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, an integer overflow in DIB coder can result in out of bounds read or write. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Integer overflow in ImageMagick's DIB coder allows out-of-bounds read/write, potentially leading to code execution or information disclosure.
Vulnerability
Overview
An integer overflow vulnerability exists in the DIB (Device Independent Bitmap) coder of ImageMagick, a widely used image processing suite. The flaw occurs when handling specially crafted DIB images, where arithmetic operations on image dimensions or buffer sizes can overflow, leading to undersized memory allocations. This results in out-of-bounds read or write operations when the image data is processed [2][4].
Exploitation
An attacker can exploit this vulnerability by providing a malicious DIB image to an application that uses ImageMagick to process user-supplied images. No authentication is required, and the attack can be performed remotely over a network if the application accepts image uploads or processes images from untrusted sources. The complexity of the attack is low, as the crafted image can be constructed without special privileges [4].
Impact
Successful exploitation can lead to memory corruption, potentially allowing an attacker to read sensitive information from memory (confidentiality breach) or write arbitrary data, which may result in code execution or denial of service. The out-of-bounds access can corrupt adjacent memory structures, affecting the integrity and availability of the affected system [2][4].
Mitigation
The vulnerability is fixed in ImageMagick versions 7.1.2-16 and 6.9.13-41, released on 2026-03-08 [2][3]. Users are strongly advised to update to these patched versions. As a workaround, administrators can implement security policies to restrict processing of DIB images or disable the DIB coder if not needed [1]. The fix is also included in downstream libraries such as Magick.NET 14.10.4 [3].
- GitHub - ImageMagick/ImageMagick: ImageMagick is a free, open-source software suite for creating, editing, converting, and displaying images. It supports 200+ formats and offers powerful command-line tools and APIs for automation, scripting, and integration across platforms.
- NVD - CVE-2026-28693
- Release Magick.NET 14.10.4 · dlemstra/Magick.NET
- Integer overflow in DIB coder can result in out of bounds read or write
AI Insight generated on May 18, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Magick.NET-Q16-AnyCPUNuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-HDRI-AnyCPUNuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-HDRI-OpenMP-arm64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-HDRI-arm64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-HDRI-x64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-HDRI-x86NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-OpenMP-arm64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-OpenMP-x64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-OpenMP-x86NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-arm64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-x64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-x86NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q16-HDRI-OpenMP-x64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q8-AnyCPUNuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q8-OpenMP-arm64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q8-OpenMP-x64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q8-arm64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q8-x64NuGet | < 14.10.4 | 14.10.4 |
Magick.NET-Q8-x86NuGet | < 14.10.4 | 14.10.4 |
Affected products
2<7.1.2-16, <6.9.13-41+ 1 more
- (no CPE)range: <7.1.2-16, <6.9.13-41
- (no CPE)range: >= 7.0.0, < 7.1.2-16
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-hffp-q43q-qq76ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-28693ghsaADVISORY
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-hffp-q43q-qq76ghsax_refsource_CONFIRMWEB
- github.com/dlemstra/Magick.NET/releases/tag/14.10.4ghsaWEB
News mentions
0No linked articles in our index yet.