Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer over-read vulnerability exists in multiple raw image format handles. The vulnerability occurs when processing images with -extract dimensions larger than -size dimensions, causing out-of-bounds memory reads from a heap-allocated buffer. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Published: 2026-02-24
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure via Heap Buffer Over-Read
Action: Patch
AI Analysis

Impact

ImageMagick contains a heap buffer over-read in several raw image format handlers. The flaw is triggered when the image dimensions used with the -extract option exceed the dimensions specified with -size, causing the code to read memory beyond the bounds of a buffer. The out-of-bounds read could expose data that should not be readable, leading to potential information disclosure. The weakness is classified as CWE‑122 and CWE‑125, indicating an overflow/underflow of heap memory and buffer over-read respectively.

Affected Systems

The vulnerability affects all versions of ImageMagick earlier than 7.1.2‑15 and 6.9.13‑40. The .NET wrapper, Magick.NET, is also affected in releases prior to 14.10.3. Any system running these older versions or processing images through these libraries may be susceptible.

Risk and Exploitability

The CVSS score of 5.1 reflects moderate severity, and the EPSS score of less than 1% indicates a low probability of exploitation in the wild. Based on the description, the likely attack vector is local or application-level: a malicious image file could be processed by a vulnerable instance of the software, enabling a reader to cause an out-of-bounds read and potentially expose memory contents. The vulnerability is not listed in CISA’s Known Exploited Vulnerabilities catalog, further suggesting limited public exploitation. The risk therefore remains moderate but not trivial, warranting timely remediation.

Generated by OpenCVE AI on April 18, 2026 at 11:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑15 or later, or 6.9.13‑40 or later, to eliminate the heap buffer over-read issue.
  • If using the .NET wrapper, migrate to Magick.NET version 14.10.3 or newer, which incorporates the security fix.
  • Where a patch or upgrade is not immediately possible, restrict processing of images that use the -extract option with mismatched size parameters, or validate the dimensions before invoking the extractor to avoid triggering the read beyond bounds.

Generated by OpenCVE AI on April 18, 2026 at 11:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4497-1 imagemagick security update
Debian DSA Debian DSA DSA-6158-1 imagemagick security update
Debian DSA Debian DSA DSA-6159-1 imagemagick security update
Github GHSA Github GHSA GHSA-jv4p-gjwq-9r2j ImageMagick: Out of bounds read in multiple coders read raw pixel data
History

Fri, 27 Feb 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Dlemstra
Dlemstra magick.net
CPEs cpe:2.3:a:dlemstra:magick.net:*:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Dlemstra
Dlemstra magick.net

Thu, 26 Feb 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 24 Feb 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 24 Feb 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick

Tue, 24 Feb 2026 00:45:00 +0000

Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer over-read vulnerability exists in multiple raw image format handles. The vulnerability occurs when processing images with -extract dimensions larger than -size dimensions, causing out-of-bounds memory reads from a heap-allocated buffer. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Title ImageMagick: Out of bounds read in multiple coders read raw pixel data
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Dlemstra Magick.net
Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-26T14:55:10.148Z

Reserved: 2026-02-03T01:02:46.714Z

Link: CVE-2026-25576

cve-icon Vulnrichment

Updated: 2026-02-26T14:55:02.464Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-24T01:16:13.290

Modified: 2026-02-27T14:33:55.123

Link: CVE-2026-25576

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-02-24T00:38:34Z

Links: CVE-2026-25576 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T11:15:35Z

Weaknesses