CVE-2023-34153 Command injection in ImageMagick

High 7.8 Published Updated

Attackers can execute arbitrary shell commands via video encoding options in ImageMagick, requiring immediate library updates.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-34153?

CVE-2023-34153 is a high-severity command injection vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 30 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A vulnerability was found in ImageMagick. This security flaw causes a shell command injection vulnerability via video:vsync or video:pixel-format options in VIDEO encoding/decoding.

Weakness: CWE-77

Which versions are affected by CVE-2023-34153?

It affects 4 products.

Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Imagemagick Imagemagick, Redhat Enterprise Linux.

How do I fix CVE-2023-34153?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-34153 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34153 exists.

All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities

Sources

Also known as GHSA-7c5r-cghm-f2jx, JLSEC-2026-907.

Is CVE-2023-34153 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free