Vulnerability · Published Jul 29, 2026 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity out-of-bounds read in ImageMagick from ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.2%top 88.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12imagemagick8:6.9.11.60+dfsg-1.6+deb12u14DEBIAN-CVE-2026-64685
Debian:13imagemagick8:7.1.1.43+dfsg1-1+deb13u13DEBIAN-CVE-2026-64685
Debian:14imagemagick8:7.1.2.27+dfsg1-1DEBIAN-CVE-2026-64685

Affected products (as reported)

VendorProductVersions
ImageMagick ImageMagick < 7.1.2-27

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References