CVE-2022-1270
ImageMagick vulnerability analysis and mitigation

Overview

CVE-2022-1270 is a heap buffer overflow vulnerability discovered in GraphicsMagick when parsing MIFF (Magick Image File Format) files. The vulnerability was reported in March 2022 and affects GraphicsMagick versions prior to 1.3.38 (Gentoo Advisory). The issue received a CVSS v3.1 base score of 7.8 HIGH with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Technical details

The vulnerability occurs due to a heap buffer overflow condition when processing MIFF format images. The issue specifically manifests during the ReadMIFFImage function call in coders/miff.c and is triggered through the ReadBlob function in magick/blob.c. The vulnerability only impacts builds with bzip support (GraphicsMagick Bug).

Impact

This vulnerability could potentially result in the execution of arbitrary code when processing a malformed MIFF image (Debian Advisory). The high CVSS score indicates potential impacts on confidentiality, integrity, and availability of the affected system if successfully exploited.

Mitigation and workarounds

The vulnerability has been fixed in GraphicsMagick version 1.3.38 and later. Users are advised to upgrade to the patched versions. Various Linux distributions have released security updates: Debian 11 (Bullseye) users should upgrade to version 1.4+really1.3.36+hg16481-2+deb11u1, and Debian 10 (Buster) users should upgrade to version 1.4+really1.3.35-1~deb10u3 (Debian Advisory, Debian LTS).

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-Q8-x64
NoYesSep 05, 2025
CVE-2025-57803HIGH8.8
  • C#C#
  • libMagick++-devel-32bit
NoYesAug 26, 2025
CVE-2025-62171HIGH7.5
  • C#C#
  • ImageMagick-config-7-upstream-limited
NoYesOct 17, 2025
CVE-2025-62594MEDIUM5.5
  • C#C#
  • ImageMagick
NoYesOct 27, 2025
CVE-2025-65955MEDIUM4.9
  • C#C#
  • imagemagick
NoYesDec 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