CVE-2022-32546
ImageMagick vulnerability analysis and mitigation

Overview

A vulnerability was discovered in ImageMagick (CVE-2022-32546) that causes an issue with values outside the range of representable values of type 'unsigned long' in the coders/pcl.c file. The vulnerability was reported on May 31, 2022, and affects ImageMagick versions prior to 6.9.12-44 and versions from 7.1.0 up to (excluding) 7.1.0-29 (NVD).

Technical details

The vulnerability occurs in the PCL image processing component of ImageMagick, specifically in the coders/pcl.c file. The issue arises when processing crafted or untrusted input, leading to undefined behavior due to values exceeding the representable range of the 'unsigned long' data type. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with the vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

When exploited, this vulnerability can lead to a negative impact on application availability and other problems related to undefined behavior when processing specially crafted input files (NVD).

Mitigation and workarounds

The vulnerability has been fixed in ImageMagick versions 6.9.12-44 and 7.1.0-29. The fix involves using CastDoubleToLong() function to properly handle the value conversion in the PCL coder (ImageMagick Commit, Debian Advisory).

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-2026-23876HIGH8.1
  • ImageMagickImageMagick
  • ImageMagick
NoNoJan 20, 2026
CVE-2025-69204HIGH7.5
  • ImageMagickImageMagick
  • ImageMagick-config-7-upstream-websafe
NoYesDec 30, 2025
CVE-2026-22770MEDIUM6.5
  • ImageMagickImageMagick
  • ImageMagick
NoNoJan 20, 2026
CVE-2025-68950MEDIUM6.2
  • C#C#
  • perl-PerlMagick
NoYesDec 30, 2025
CVE-2026-23874MEDIUM5.5
  • ImageMagickImageMagick
  • ImageMagick-perl
NoNoJan 20, 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