Description
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-27, the BGR decoder does not check for an end-of-file in every location so a crafted image could result in an heap buffer over-read. This issue has been fixed in version 7.1.2-27.
Published: 2026-07-29
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A missing end-of-file check in ImageMagick's BGR decoder allows a crafted image to trigger a heap buffer over-read. The vulnerability can cause the software to read memory beyond the intended buffer boundaries, potentially exposing sensitive data or causing a denial of service by crashing the program. It represents a vulnerability in memory safety (CWE-125) but does not provide direct code execution or other higher-level exploits.

Affected Systems

ImageMagick ImageMagick versions prior to 7.1.2-27 are affected. The issue was fixed in 7.1.2-27; all other earlier releases remain vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, while the EPSS score of less than 1% suggests very low likelihood of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog, further indicating lower exposure risk. Exploitation would require an attacker to craft a malicious image that is processed by the software, which is feasible in contexts where the application accepts untrusted image input. No remote code execution or privilege escalation is possible directly from this over-read.

Generated by OpenCVE AI on August 2, 2026 at 07:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor patch by upgrading ImageMagick to version 7.1.2-27 or later.
  • Remove or replace any older ImageMagick binaries or libraries from all affected systems and redeploy the updated binaries.
  • Configure the image ingestion process to validate or filter suspicious image files until the patch is fully deployed, thereby reducing the window of exposure.

Generated by OpenCVE AI on August 2, 2026 at 07:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 30 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 30 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 30 Jul 2026 01:45:00 +0000

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

Thu, 30 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-27, the BGR decoder does not check for an end-of-file in every location so a crafted image could result in an heap buffer over-read. This issue has been fixed in version 7.1.2-27.
Title ImageMagick: Heap Buffer Over-Read in BGR decoder due to mising end-of-file check
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-07-30T15:17:50.345Z

Reserved: 2026-07-20T17:12:12.892Z

Link: CVE-2026-64685

cve-icon Vulnrichment

Updated: 2026-07-30T14:22:00.246Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-30T00:16:25.490

Modified: 2026-08-03T15:20:03.863

Link: CVE-2026-64685

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-29T23:47:21Z

Links: CVE-2026-64685 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T07:45:03Z

Weaknesses