CVE-2025-55005
ImageMagick vulnerability analysis and mitigation

Overview

CVE-2025-55005 is a heap-buffer overflow vulnerability discovered in ImageMagick versions prior to 7.1.2-1. The vulnerability was identified in the log colorspace handling functionality, specifically when transforming from Log to sRGB colorspaces. The issue was discovered and reported by Google Big Sleep team in August 2025 (ImageMagick Advisory).

Technical details

The vulnerability occurs in the logmap construction process when handling reference-black or reference-white values larger than 1024. The code fails to properly validate these values, leading to memory corruption beyond the allocated logmap buffer. The issue specifically manifests in the TransformsRGBImage function within the colorspace.c file. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Moderate) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (ImageMagick Advisory).

Impact

When exploited, this vulnerability can lead to heap-buffer overflow conditions, potentially resulting in program crashes and denial of service. The CVSS metrics indicate high impact on availability while confidentiality and integrity remain unaffected. The vulnerability requires local access and user interaction to be exploited (ImageMagick Advisory).

Mitigation and workarounds

The vulnerability has been patched in ImageMagick version 7.1.2-1. Users are advised to upgrade to this version or later. For those unable to upgrade immediately, implementing a security policy that blocks the MIFF file format can help mitigate the risk. The websafe policy is noted to provide protection against this specific attack vector (ImageMagick Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management