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 the MAP image decoder when processing crafted MAP files, potentially leading to crashes or unintended memory disclosure during image decoding. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Published: 2026-02-24
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Heap buffer over‑read, potentially exposing memory contents and causing crashes
Action: Apply Patch
AI Analysis

Impact

ImageMagick’s MAP image decoder can perform a heap buffer over‑read when handling specially crafted MAP files, allowing an attacker to trigger a crash or read adjacent memory. This flaw is classified as CWE‑125, indicating an out‑of‑bounds read that could reveal sensitive data. The vulnerability is limited to image decoding and does not give the attacker arbitrary code execution. The impact is a possible information disclosure or denial of service, depending on the context.

Affected Systems

All installations of ImageMagick using versions older than 7.1.2‑15 and 6.9.13‑40 are affected. The patch is included in ImageMagick 7.1.2‑15 and 6.9.13‑40, so any deployment running these or later releases is safe.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. The probability of exploitation is below 1 %, and it is not listed in CISA’s Known Exploited Vulnerabilities catalog. The likely attack vector is remote: an attacker can supply a malicious MAP image to any application or service that processes images with ImageMagick. The flaw requires only the ability to deliver a crafted image, making it relatively easy to test and exploit in practice, but the low exploitation probability suggests uncommon real‑world exploitation to date.

Generated by OpenCVE AI on April 17, 2026 at 15:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑15 or newer, or 6.9.13‑40 or newer, ensuring the patch is applied
  • If upgrading is not immediately possible, configure the application to refuse or ignore MAP format files, or block MAP image processing entirely
  • After remediation, monitor application logs for unexpected crashes or memory access violations as an additional check for residual risk

Generated by OpenCVE AI on April 17, 2026 at 15:57 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-42p5-62qq-mmh7 ImageMagick has a heap buffer over-read in its MAP image decoder
Ubuntu USN Ubuntu USN USN-8069-1 ImageMagick vulnerabilities
History

Sat, 28 Feb 2026 03:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 25 Feb 2026 12:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

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

Type Values Removed Values Added
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 02:00: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 the MAP image decoder when processing crafted MAP files, potentially leading to crashes or unintended memory disclosure during image decoding. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
Title ImageMagick has heap buffer over-read in MAP image decoder
Weaknesses CWE-125
References
Metrics cvssV3_1

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-28T02:07:42.005Z

Reserved: 2026-02-09T17:41:55.858Z

Link: CVE-2026-25987

cve-icon Vulnrichment

Updated: 2026-02-28T02:07:37.796Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-24T02:16:02.937

Modified: 2026-02-25T12:10:01.520

Link: CVE-2026-25987

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-02-24T01:46:24Z

Links: CVE-2026-25987 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T16:00:11Z

Weaknesses