<Vulnerability name="CVE-2026-64685">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-07-29T23:47:21</PublicDate>
    <Bugzilla id="2508813" url="https://bugzilla.redhat.com/show_bug.cgi?id=2508813" xml:lang="en:us">
ImageMagick: ImageMagick: Information Disclosure via Crafted Image File
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>5.3</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-125</CWE>
    <Details xml:lang="en:us" source="Mitre">
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.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in ImageMagick, a free and open-source software used for editing and manipulating digital images. A remote attacker could exploit a vulnerability in the BGR decoder by providing a specially crafted image file. This flaw, caused by a missing end-of-file check, can lead to a heap buffer over-read, potentially resulting in the disclosure of sensitive information.
    </Details>
    <Statement xml:lang="en:us">
Moderate: ImageMagick's BGR decoder is vulnerable to a heap buffer over-read when processing specially crafted image files. This flaw could lead to information disclosure if applications using ImageMagick process untrusted images, potentially exposing sensitive memory contents. The impact is limited to information disclosure and does not directly enable arbitrary code execution.
    </Statement>
    <Mitigation xml:lang="en:us">
To reduce the risk, avoid processing untrusted or unvalidated image files with applications that use ImageMagick. Implement strict input validation and sanitization for any image files originating from external or untrusted sources.
    </Mitigation>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:6">
        <ProductName>Red Hat Enterprise Linux 6</ProductName>
        <FixState>Out of support scope</FixState>
        <PackageName>ImageMagick</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Out of support scope</FixState>
        <PackageName>ImageMagick</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-64685
https://nvd.nist.gov/vuln/detail/CVE-2026-64685
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7rgw-xg25-prjm
    </References>
</Vulnerability>