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

Published Jul 29, 2026
·
Updated

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 Software

2 affected components
ImageMagick ImageMagick<7.1.2-27
ImageMagick ImageMagick<7.1.2-27

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-27

Event History

Jul 29, 2026
CVE Published
via MITRE·11:47 PM
Data Sourced
via MITRE·11:47 PM
DescriptionSeverityWeakness
Jul 30, 2026
Data Sourced
via NVD·12:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64685?

The severity of CVE-2026-64685 is medium with a score of 5.3.

2

How do I fix CVE-2026-64685?

To fix CVE-2026-64685, update ImageMagick to version 7.1.2-27 or later.

3

What is the impact of CVE-2026-64685?

CVE-2026-64685 can lead to a heap buffer over-read when processing specially crafted BGR images.

4

Which versions of ImageMagick are affected by CVE-2026-64685?

ImageMagick versions prior to 7.1.2-27 are affected by CVE-2026-64685.

5

Is user input required for CVE-2026-64685 to be exploited?

No, CVE-2026-64685 does not require user interaction to be exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203