CVE-2022-32546
Description
ImageMagick suffers from an out-of-range unsigned long value in coders/pcl.c, leading to undefined behavior and denial of service.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
ImageMagick suffers from an out-of-range unsigned long value in coders/pcl.c, leading to undefined behavior and denial of service.
Vulnerability
The vulnerability resides in ImageMagick's PCL coder, specifically in the file coders/pcl.c, where crafted or untrusted input can cause an outside the range of representable values of type unsigned long [1]. This undefined behavior affects ImageMagick versions prior to the fix. The issue occurs when processing specially crafted PCL files, leading to an arithmetic overflow or similar condition that the code does not handle safely [1].
Exploitation
An attacker can exploit this by providing a malicious PCL file to ImageMagick for processing. No authentication or special privileges are required; the attacker only needs to convince a user or system to process the crafted file (e.g., via email, web upload, or command-line invocation). The condition is triggered when the parser encounters values that exceed the representable range of unsigned long, causing undefined behavior [1].
Impact
Successful exploitation can lead to a negative impact on application availability, such as a crash or denial of service. Due to the undefined behavior, other unpredictable consequences may also occur, but the primary impact is availability degradation [1].
Mitigation
Red Hat has marked this issue as WONTFIX for Red Hat Enterprise Linux 6, 7, and 8, indicating that no fix will be provided for those affected versions [1]. Users are advised to update ImageMagick to a version containing the fix, or to avoid processing untrusted PCL files as a workaround [1].
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
16(expand)+ 1 more
- (no CPE)
- (no CPE)
- osv-coords14 versionspkg:rpm/opensuse/ImageMagick&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/ImageMagick&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/ImageMagick&distro=openSUSE%20Tumbleweedpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP3pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP4pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP5
< 7.0.7.34-150200.10.31.1+ 13 more
- (no CPE)range: < 7.0.7.34-150200.10.31.1
- (no CPE)range: < 7.0.7.34-150200.10.31.1
- (no CPE)range: < 7.1.1.17-1.1
- (no CPE)range: < 7.0.7.34-150000.3.123.1
- (no CPE)range: < 7.0.7.34-150200.10.31.1
- (no CPE)range: < 7.1.0.9-150400.6.3.1
- (no CPE)range: < 7.0.7.34-150200.10.31.1
- (no CPE)range: < 7.1.0.9-150400.6.3.1
- (no CPE)range: < 6.8.8.1-71.177.1
- (no CPE)range: < 7.0.7.34-150000.3.123.1
- (no CPE)range: < 6.8.8.1-71.177.1
- (no CPE)range: < 7.0.7.34-150000.3.123.1
- (no CPE)range: < 6.8.8.1-71.177.1
- (no CPE)range: < 6.8.8.1-71.177.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
4News mentions
0No linked articles in our index yet.