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).

Exploitability

The vulnerability can be triggered during both VIDEO decoding and encoding processes. A proof of concept exists demonstrating exploitation through manipulated video:pixel-format parameters, allowing arbitrary command execution. The attack requires local access and user interaction (NVD, 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-2026-64685MEDIUM5.3
  • ImageMagick logoImageMagick
  • ImageMagick-c++-devel
NoYesJul 30, 2026
CVE-2026-62363MEDIUM5
  • C# logoC#
  • ImageMagick-c++-devel
NoYesJul 30, 2026
CVE-2026-66011MEDIUM4.8
  • ImageMagick logoImageMagick
  • imagemagick
NoYesJul 25, 2026
CVE-2026-62946MEDIUM4.7
  • C# logoC#
  • libMagickWand-7_Q16HDRI10
NoYesJul 30, 2026
CVE-2026-62343MEDIUM4.7
  • C# logoC#
  • Magick.NET-Q16-x64
NoYesJul 30, 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