CVE-2022-1115
ImageMagick vulnerability analysis and mitigation

Overview

A heap-buffer-overflow vulnerability (CVE-2022-1115) was discovered in ImageMagick's PushShortPixel() function within the quantum-private.h file. The vulnerability is triggered when processing specially crafted TIFF image files for conversion. This vulnerability affects ImageMagick versions prior to 6.9.12-44 and 7.1.0-29 (CVE Details, Mitre CVE).

Technical details

The vulnerability occurs in the PushShortPixel function of quantum-private.h when processing TIFF images. The issue stems from improper memory allocation and buffer management during the image conversion process. The bug was specifically identified in the memory allocation for tile processing, where the extent calculation needed to be adjusted by a factor of 4 to prevent the overflow (GitHub Commit, GitHub Issue).

Impact

When exploited, this vulnerability can lead to a denial of service condition through heap buffer overflow. The issue affects systems processing TIFF images using vulnerable versions of ImageMagick (Debian Tracker).

Mitigation and workarounds

The vulnerability has been fixed in ImageMagick versions 6.9.12-44 and 7.1.0-29. Users are advised to upgrade to these or later versions. The fix involves adjusting the memory allocation calculation in the TIFF processing code (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#
  • imagemagick
NoYesSep 05, 2025
CVE-2025-57803HIGH8.8
  • C#C#
  • ImageMagick-config-6-upstream
NoYesAug 26, 2025
CVE-2025-62171HIGH7.5
  • C#C#
  • ImageMagick-extra
NoYesOct 17, 2025
CVE-2025-62594MEDIUM5.5
  • C#C#
  • Magick.NET-Q16-HDRI-OpenMP-x64
NoYesOct 27, 2025
CVE-2025-65955MEDIUM4.9
  • C#C#
  • Magick.NET-Q16-HDRI-arm64
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