CVE-2026-77118
8.4GraphicsMagick · GraphicsMagick
A heap out-of-bounds write vulnerability in the Photo CD (PCD) decoder of GraphicsMagick can lead to memory corruption during image processing.
Executive summary
A heap out-of-bounds write vulnerability in GraphicsMagick versions prior to 1.3.48 poses a significant risk of memory corruption and potential arbitrary code execution.
Vulnerability
This is a heap out-of-bounds write vulnerability (CWE-787) located in the Photo CD decoder. The vulnerability is triggered when processing a malformed image file, requiring user interaction to open the file, although no authentication is required for the application itself.
Business impact
Successful exploitation allows an attacker to cause memory corruption, which may result in application crashes or the execution of arbitrary code with the privileges of the user running the software. Given the CVSS score of 8.4, this vulnerability represents a high-severity risk that could lead to full system compromise if the attacker succeeds in executing code within the context of the application.
Remediation
Immediate Action: Upgrade to GraphicsMagick version 1.3.48 or later, which implements proper bounds checking for the decoder output.
Proactive Monitoring: Monitor system logs for unusual application crashes or segmentation faults that may indicate an exploitation attempt.
Compensating Controls: Implement strict input validation or sandboxing for any services that process untrusted image files using GraphicsMagick.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Organizations using GraphicsMagick should prioritize updating to version 1.3.48 immediately. Given the high CVSS score, the potential for arbitrary code execution necessitates prompt remediation to prevent compromise of systems that process external image data.