LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2016-3715: ImageMagick Arbitrary File Deletion Vulnerability

RBRecent Breaches Vulnerability Intelligence·Nov 3, 2021
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
May 3, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2016-3715 to its Known Exploited Vulnerabilities catalog on Nov 3, 2021, with a federal patch deadline of May 3, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

ImageMagick contains an unspecified vulnerability that could allow users to delete files by using ImageMagick's 'ephemeral' pseudo protocol, which deletes files after reading.

CVE-2016-3715 is an arbitrary file deletion vulnerability in ImageMagick. It allows an attacker who can supply crafted input to cause the software to delete files via the 'ephemeral' pseudo protocol, which removes files after they are read. This matters because ImageMagick is widely used for image processing in web applications, content pipelines, and backend services; unauthorized deletion can disrupt operations, destroy evidence, or remove critical configuration and data files.

Defenders should treat this as an access-control failure that can be triggered through normal image-handling paths. Confirm exact affected releases and fixed versions directly against the vendor advisory, as public detail beyond the CISA summary is limited.

How it works

The weakness is classified as CWE-284 (Improper Access Control). ImageMagick supports pseudo protocols that alter how files are handled. The 'ephemeral' protocol is designed to delete a file after it has been read. In this vulnerability, that behavior can be abused so that an attacker-controlled reference causes deletion of files the process can reach, rather than only the intended temporary resource.

An attacker who can influence the image or file path supplied to ImageMagick (for example through an upload, conversion request, or other processing endpoint) may be able to force the library to open and then delete a chosen file. No further exploit mechanics are specified in the available facts; treat any claimed payload or trigger as unverified until checked against the vendor advisory and your own testing in a controlled environment.

Am I affected? How to find it in your systems

ImageMagick commonly appears on web servers, application servers, media-processing workers, CMS plugins, and developer workstations that perform image conversion, thumbnailing, or format validation. It may be installed as a system package, bundled inside containers, or linked by language bindings (for example in PHP, Python, or Ruby applications).

How to remediate

Patch first. Apply the updates provided by the ImageMagick vendor exactly as described in their advisory and in the CISA required action: “Apply updates per vendor instructions.” After upgrading, restart dependent services and confirm the new version is running in every environment (including containers and CI builders).

Beyond the patch, harden the image-processing path for this class of flaw:

If you can't patch immediately

Reduce exposure until the vendor update can be deployed:

If your data may have been exposed

Actively exploited vulnerabilities can lead to broader compromise, including data destruction or follow-on access. The facts do not document ransomware use for this CVE. If you suspect exploitation, preserve logs, isolate affected hosts, and follow your incident-response process. As a simple additional check, you can run a free exposure scan of your email addresses against known breach data to see whether credentials or other information have appeared in prior incidents.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedImageMagick · ImageMagick
WeaknessCWE-284
Added to CISA KEVNov 3, 2021
Federal patch deadlineMay 3, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities