CVE-2026-64685

ImageMagick: Heap Buffer Over-Read in BGR decoder due to mising end-of-file check

Published Jul 29, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Debian DLA Debian DLA DLA-4858-1 imagemagick security update
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 30, 2026, 3:17 PM
Reserved
Jul 20, 2026, 5:12 PM
Status
Analyzed
Published
Jul 30, 2026, 12:16 AM
Modified
Aug 3, 2026, 3:20 PM
Severity
Moderate
Public date
Jul 29, 2026, 11:47 PM