CVE-2026-24481
C# vulnerability analysis and mitigation

Overview

CVE-2026-24481 is a heap information disclosure vulnerability in ImageMagick's PSD (Adobe Photoshop) format handler, classified as "Possible Heap Information Disclosure in PSD ZIP Decompression." When processing a maliciously crafted PSD file containing ZIP-compressed layer data that decompresses to less than the expected size, uninitialized heap memory is leaked into the output image. The vulnerability affects ImageMagick versions prior to 7.1.2-15 (7.x branch) and prior to 6.9.13-40 (6.x branch), as well as Magick.NET NuGet packages prior to version 14.10.3. It was published on February 23–24, 2026, with a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Github Advisory).

Technical details

The root cause is classified as CWE-125 (Out-of-bounds Read), mapped to CAPEC-540 (Overread Buffers). The PSD format handler in ImageMagick allocates a buffer sized to the expected decompressed output of ZIP-compressed layer data; when the actual decompressed data is smaller than expected, the remaining uninitialized heap memory is not zeroed before being written into the output image, causing it to be disclosed to the caller. Exploitation requires no authentication, no user interaction, and is network-accessible — an attacker simply needs to supply a crafted PSD file to any service or application that processes images using a vulnerable ImageMagick version. The fix is referenced in commit 51c9d33 in the ImageMagick repository (GitHub Advisory, Github Advisory).

Impact

Successful exploitation results in the disclosure of uninitialized heap memory contents embedded within the output image, which could expose sensitive data previously stored in server memory — such as cryptographic keys, session tokens, credentials, or other in-memory application data. There is no integrity or availability impact; the vulnerability is purely a confidentiality concern. Systems that accept user-supplied PSD files for processing (e.g., web applications, image conversion services) are at highest risk, as an attacker could retrieve the output image and analyze it for leaked memory contents (GitHub Advisory).

Exploitation steps

  1. Craft a malicious PSD file: Create a PSD file with a layer that contains ZIP-compressed data (compression type 2 or 3 in PSD format) where the compressed payload decompresses to fewer bytes than the declared/expected layer data size.
  2. Submit the file for processing: Deliver the crafted PSD file to a target system running a vulnerable ImageMagick version (< 7.1.2-15 or < 6.9.13-40) — for example, by uploading it to a web application that uses ImageMagick for image conversion or thumbnail generation.
  3. Trigger decompression: ImageMagick's PSD handler decompresses the ZIP layer data; because the decompressed output is smaller than the allocated buffer, the remaining uninitialized heap bytes are included in the output image pixel data.
  4. Retrieve the output: Obtain the converted/processed output image (e.g., PNG or JPEG) returned by the service.
  5. Extract leaked memory: Analyze the output image's pixel data for regions containing uninitialized heap memory, which may include sensitive in-process data such as keys, tokens, or other heap-resident values (GitHub Advisory).

Indicators of compromise

  • Network: Unusual uploads of .psd files to image-processing endpoints, particularly files with anomalously small ZIP-compressed layer payloads relative to declared layer dimensions.
  • File System: Presence of crafted PSD files with ZIP-compressed layers in upload directories or temporary processing directories.
  • Logs: Web server or application logs showing repeated PSD file submissions from the same source IP, especially followed by retrieval of the processed output image; ImageMagick error or warning logs related to PSD decompression size mismatches.
  • Process: ImageMagick processes (convert, magick) invoked with PSD input files from untrusted or external sources.

Mitigation and workarounds

Update ImageMagick to version 7.1.2-15 or later (7.x branch) or 6.9.13-40 or later (6.x branch). For Magick.NET NuGet users, upgrade to version 14.10.3 or later. If immediate patching is not possible, restrict or disable the ability to process PSD files through ImageMagick, implement input validation to reject PSD files before they reach ImageMagick, or disable PSD format support in the ImageMagick policy configuration (/etc/ImageMagick-*/policy.xml). Distribution-specific patches have been issued for Debian, SUSE/openSUSE, Red Hat, Amazon Linux 2, and Ubuntu (GitHub Advisory, Github Advisory).

Community reactions

The advisory was published by ImageMagick maintainer dlemstra on February 23, 2026, and quickly picked up by Linux distribution security teams including Debian, SUSE/openSUSE, Red Hat, Amazon Linux, and Ubuntu, all of which issued security updates. The vulnerability received coverage in Linux security news outlets and was flagged by Tenable Nessus and Qualys scanners shortly after disclosure. No significant independent researcher commentary or social media controversy has been observed beyond routine vulnerability tracking.

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-p5rm-jg5c-8c77MEDIUM6.1
  • C# logoC#
  • Microsoft.OpenApi.Kiota
NoYesJul 24, 2026
CVE-2026-62946MEDIUM5.1
  • C# logoC#
  • Magick.NET-Q16-AnyCPU
NoYesJul 24, 2026
CVE-2026-62363MEDIUM5
  • C# logoC#
  • Magick.NET-Q16-HDRI-OpenMP-arm64
NoYesJul 24, 2026
CVE-2026-62343MEDIUM4.7
  • C# logoC#
  • Magick.NET-Q16-OpenMP-arm64
NoYesJul 24, 2026
GHSA-464c-974j-9xm6LOW3.3
  • JavaScript logoJavaScript
  • @aws-cdk/aws-codebuild
NoYesJul 24, 2026

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