CVE-2022-0284
ImageMagick vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability was discovered in ImageMagick version 7.1.0-20, specifically in the GetPixelAlpha() function declared in MagickCore/pixel-accessor.h. The vulnerability is triggered when processing a specially crafted Tagged Image File Format (TIFF) image during conversion to PICON file format (GitHub Issue, RedHat Bugzilla).

Technical details

The vulnerability manifests as a heap buffer overflow during the GetPixelAlpha() function execution. The issue occurs specifically when converting TIFF images to PICON format, where the code incorrectly references the source image instead of the destination image for alpha channel operations. The bug was identified using Address Sanitizer (ASAN) which detected a READ overflow of size 4 bytes beyond an allocated memory region (GitHub Issue).

Impact

The exploitation of this vulnerability could potentially lead to denial of service conditions or information leaks when processing specially crafted TIFF images (RedHat Bugzilla).

Mitigation and workarounds

The vulnerability was fixed in a patch that corrected the image reference in the GetPixelAlpha() function calls. The fix involved changing the source of the alpha channel check from 'image' to 'picon' in the affected code sections (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related ImageMagick vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-57807CRITICAL9.8
  • C#C#
  • Magick.NET-Q16-HDRI-arm64
NoYesSep 05, 2025
CVE-2025-57803HIGH8.8
  • C#C#
  • ImageMagick-c++-devel
NoYesAug 26, 2025
CVE-2025-62171HIGH7.5
  • C#C#
  • ImageMagick-devel
NoYesOct 17, 2025
CVE-2025-62594MEDIUM5.5
  • C#C#
  • Magick.NET-Q16-HDRI-x64
NoYesOct 27, 2025
CVE-2025-65955MEDIUM4.9
  • ImageMagickImageMagick
  • ImageMagick-doc
NoNoDec 02, 2025

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