CVE-2026-106566

ImageMagick: Policy Bypass in delegate symlink cleanup due to missing check

Published Oct 7, 2026 CVSS 3.1 · 4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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
Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick
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'}

Weaknesses
  • CWE-59

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

  • CWE-61

    UNIX Symbolic Link (Symlink) Following

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 7, 2026, 5:04 PM
Reserved
Oct 6, 2026, 8:31 PM
Status
Analyzed
Published
Oct 7, 2026, 4:17 PM
Modified
Oct 22, 2026, 6:05 PM
Severity
Moderate
Public date
Oct 7, 2026, 3:21 PM