Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2023-34152: Remote code execution in ImageMagick OpenBlob with pipes enabled

Published May 30, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS8.0%95th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Fedora ProjectImagemagickRed Hat
IdentifiersCVE-2023-34152CWE-78 · Improper Neutralization of Special…

CVE-2023-34152 is a remote code execution vulnerability in ImageMagick's OpenBlob functionality when ImageMagick is built with --enable-pipes configured. The precise flaw mechanism, triggering input, and complete affected-version range are not specified.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows remote code execution in the context of the affected ImageMagick process. The execution privileges and specific downstream consequences are not established.

Mitigation

If you can’t patch tonight, do this now.

Avoid the identified vulnerable configuration by using an ImageMagick build without --enable-pipes. No additional workaround is specified.

Remediation

Patch, then assume compromise.

For the package distribution covered by the advisory, update ImageMagick and related packages to version 8:7.1.1.43+dfsg1-1+deb13u2 or later. Fixed versions for other distributions are not specified.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
ImageTragick_CVE-2023-34152This repository contains a proof-of-concept exploit for CVE-2023-34152, a vulnerability in ImageMagick (also known as ImageTragick). The main file, CVE-2023-34152.py, is a Python script that generates a malicious PNG file and a base64-encoded reverse shell payload. The script takes LHOST and LPORT as arguments, which specify the attacker's IP and port for the reverse shell. It creates a PNG file and a text file containing a bash reverse shell command, encodes the command in base64, and then crafts a file with a specially constructed name that, when processed by a vulnerable ImageMagick instance, will execute the reverse shell command. The exploit targets systems where ImageMagick processes user-supplied images, and if successful, provides the attacker with a shell on the target system. The repository is structured simply, with one exploit script and a README file.overgrowncarrot1 · Disclosed Sep 27, 2023 · python · bash · networkPoCCVE-2023-34152This repository contains a proof-of-concept exploit for CVE-2023-34152, a remote code execution vulnerability in ImageMagick versions prior to 7.1.1.10. The exploit is implemented in a single Python script (CVE-2023-34152.py) that generates a PNG file with a specially crafted filename. This filename exploits a flaw in ImageMagick's handling of filenames starting with a pipe ('|') character, allowing arbitrary shell command execution when the file is processed by a vulnerable ImageMagick instance. The script encodes a bash reverse shell payload, embeds it in the filename, and writes a PNG image to disk. The attacker is instructed to upload this file to a target server running the vulnerable ImageMagick version. If the server processes the file, it will execute the payload and connect back to the attacker's specified IP and port, providing a reverse shell. The repository also includes a README.md with background information, usage instructions, and references to the vulnerability disclosure. No hardcoded IPs or domains are present; the attacker supplies their own IP and port at runtime.SudoIndividual · Disclosed May 23, 2024 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Fedora ProjectExtra Packages For Enterprise Linuxapplication
Fedora ProjectFedoraoperating_system
ImagemagickImagemagickapplication
Red HatRed Hat Enterprise Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2023-34152 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2023-34152 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2023-34152?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2023-34152, the earliest disclosed Sep 27, 2023.
Is there a patch for CVE-2023-34152?
For the package distribution covered by the advisory, update ImageMagick and related packages to version 8:7.1.1.43+dfsg1-1+deb13u2 or later. Fixed versions for other distributions are not specified.
What products are affected by CVE-2023-34152?
Imagemagick, Fedora Project Extra Packages For Enterprise Linux, Fedora Project Fedora, and Red Hat Enterprise Linux.
How severe is CVE-2023-34152?
CVE-2023-34152 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 8.0% (95th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.