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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-07-29T23:47:21.587Z
- Modified: 2026-08-03T15:20:03.863Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- ImageMagick ImageMagick: < 7.1.2-27; before 7.1.2-27

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7rgw-xg25-prjm> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-64685](https://www.cve.org/CVERecord?id=CVE-2026-64685), CVE Terms of Use, modified 2026-07-30
- NVD: [CVE-2026-64685](https://nvd.nist.gov/vuln/detail/CVE-2026-64685), Public domain, modified 2026-08-03

---

Page: https://cve.day/CVE-2026-64685 · Whole record: https://cve.day/CVE-2026-64685.json · Rebuilt by cve.day 2026-11-25T22:59:30.493Z
