Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-32, delegate symlink cleanup does not check the MAGICK_SHRED_PASSES environment variable, allowing a local privileged workflow to overwrite a file with random data. This issue is fixed in version 7.1.2-32.
Published: 2026-10-07
Score: 4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Local File Overwrite
Action: Patch
AI Analysis

Impact

ImageMagick permits a local privileged workflow to overwrite an arbitrary file with random data because the delegate symlink cleanup routine does not verify the MAGICK_SHRED_PASSES environment variable before performing the cleanup. This flaw allows file corruption, potentially causing denial of service or data loss. The weakness is a path traversal and overwrite vulnerability, identified by CWE-61 and CWE-59.

Affected Systems

The vulnerability exists in ImageMagick 7.x releases before 7.1.2‑32 and in ImageMagick 6.x releases before 6.9.13‑57. These versions are part of the open‑source image manipulation library used on many platforms.

Risk and Exploitability

The CVSS score of 4 indicates moderate severity. EPSS is not available and the flaw is not listed in the CISA KEV catalog. Exploitation requires a local privileged workflow, so the attack vector is local. An attacker with sufficient privileges can overwrite a chosen file, potentially disrupting services or corrupting critical data. Overall, the risk is moderate but confined to systems where a privileged user can invoke ImageMagick's delegate cleanup functionality.

Generated by OpenCVE AI on October 8, 2026 at 14:01 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to release 7.1.2‑32 or later.
  • Upgrade ImageMagick to release 6.9.13‑57 or later.
  • Ensure the MAGICK_SHRED_PASSES environment variable is defined when secure file handling is required.

Generated by OpenCVE AI on October 8, 2026 at 14:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4858-1 imagemagick security update
History

Thu, 22 Oct 2026 18:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*

Thu, 08 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-59
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 07 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 07 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick

Wed, 07 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-32, delegate symlink cleanup does not check the MAGICK_SHRED_PASSES environment variable, allowing a local privileged workflow to overwrite a file with random data. This issue is fixed in version 7.1.2-32.
Title ImageMagick: Policy Bypass in delegate symlink cleanup due to missing check
Weaknesses CWE-61
References
Metrics cvssV3_1

{'score': 4, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-07T17:04:17.380Z

Reserved: 2026-10-06T20:31:59.017Z

Link: CVE-2026-106566

cve-icon Vulnrichment

Updated: 2026-10-07T16:09:50.978Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-07T16:17:40.800

Modified: 2026-10-22T18:05:20.690

Link: CVE-2026-106566

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-07T15:21:39Z

Links: CVE-2026-106566 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T14:15:15Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

  • CWE-61

    UNIX Symbolic Link (Symlink) Following