Severity by source
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Local access required to invoke identify; debug mode and non-printable profile terminal byte are specific high-complexity preconditions; only minimal confidentiality impact from one byte.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
ImageMagick before 7.1.2-26 and 6.9.13-51 contains an information disclosure vulnerability: when a profile is displayed with the identify command and the profile value is not printable, a single byte at the end of the profile can be printed (read past the profile boundary). This behavior occurs when debug output is enabled.
AnalysisAI
ImageMagick before 7.1.2-26 (7.x branch) and 6.9.13-51 (6.x branch) discloses one byte of process memory beyond a profile boundary when the identify command is run with debug output enabled and the embedded profile ends with a non-printable byte. The out-of-bounds read (CWE-125) is highly conditional - requiring local access, explicit debug mode activation, and a specifically crafted profile payload - keeping real-world impact extremely low despite ImageMagick's broad deployment footprint. No public exploit code or active exploitation has been identified at time of analysis.
Technical ContextAI
ImageMagick is an open-source image processing suite used extensively in web application backends and server-side pipelines via CLI invocation and its MagickCore/MagickWand library bindings. The vulnerability resides in the profile-display logic of the identify command, which renders embedded metadata profiles such as EXIF, ICC, and IPTC. CWE-125 (Out-of-bounds Read) is the root cause: when a profile's terminal byte is non-printable, the display routine advances one position past the allocated profile buffer before returning, exposing a single byte of adjacent process memory. This off-by-one read is gated on debug output being enabled, a non-default operational mode. Affected CPEs are cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* spanning both the 6.x branch (before 6.9.13-51) and the 7.x branch (before 7.1.2-26).
RemediationAI
Upgrade to ImageMagick 7.1.2-26 or later for 7.x deployments, or to 6.9.13-51 or later for 6.x deployments, as documented in the vendor advisory at https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-hwf3-r46v-5ggx. The patch corrects the off-by-one read in the profile display routine. As an immediate compensating control, remove or disable the debug output flag from any identify invocations that process untrusted image input - this directly eliminates the triggering condition without requiring a software upgrade, though it sacrifices debug visibility in those pipelines. Restricting automated pipelines from running identify with debug flags on user-supplied images is the most practical interim mitigation, with no functional side effects on normal image processing workflows.
More in Imagemagick
View allReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when proc
Integer overflow in MagickCore/profile.c in ImageMagick before 7.0.2-1 allows remote attackers to cause a denial of serv
The LABEL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to read arbitrary files vi
The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbit
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b
The ReadDCMImage function in DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to
The DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact b
ImageMagick 7.0.6-5 has a memory leak vulnerability in ReadWEBPImage in coders/webp.c because memory is not freed in cer
Heap buffer overflow in ImageMagick's XBM image decoder (ReadXBMImage) lets remote attackers write attacker-controlled d
A vulnerability was found in ImageMagick. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
In ImageMagick 7.0.9-7 Q16, there is a use-after-free in the function MngInfoDiscardObject of coders/png.c, related to R
The ReadMATImageV4 function in coders/mat.c in ImageMagick 7.0.8-7 uses an uninitialized variable, leading to memory cor
Same weakness CWE-125 – Out-of-bounds Read
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-44611
GHSA-wh42-3hf2-jj9p