CVE-2023-34153
ImageMagick vulnerability analysis and mitigation

Overview

A shell command injection vulnerability (CVE-2023-34153) was discovered in ImageMagick, affecting versions up to 7.1.1.11. The vulnerability exists in the VIDEO encoding/decoding functionality, specifically through the video:vsync and video:pixel-format options. This security flaw was identified on May 17, 2023, and publicly disclosed on May 30, 2023 (NVD, GitHub Issue).

Technical details

The vulnerability stems from improper input sanitization in the ExternalDelegateCommand function. While the command string is sanitized with SanitizeString and scanned for illegal characters, the illegal character set only contains '&;<>|' and not quotation marks. This oversight allows for command injection through the video:vsync and video:pixel-format options. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High), with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

If exploited, this vulnerability could allow an attacker to execute arbitrary shell commands through specially crafted video:vsync or video:pixel-format options during VIDEO encoding/decoding operations. This could lead to unauthorized command execution with the privileges of the ImageMagick process (GitHub Issue).

Mitigation and workarounds

The vulnerability has been fixed in ImageMagick version 7.1.1.11. Users are advised to upgrade to this version or later. Various Linux distributions have also released security updates to address this vulnerability, including Fedora 37 and 38 (Fedora 37 Update, Fedora 38 Update).

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