Description
ImageMagick before 7.1.2-24 contains an incorrect policy check that allows attackers to create or truncate files disallowed by security policies. Remote attackers can bypass path policy restrictions in sandboxed conversion services to write arbitrary files outside intended boundaries.
Published: 2026-06-30
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick prior to version 7.1.2-24 implements a policy check that is insufficiently validated, enabling attackers to create or truncate files that should be protected by security policies. This flaw permits the writing of arbitrary files outside the intended directory boundaries, potentially allowing persistent access, configuration manipulation, or installation of malicious payloads. The weakness is a classic path traversal error (CWE‑22), which undermines confidentiality, integrity, and availability of the affected system.

Affected Systems

The vulnerability affects all installations of the ImageMagick image processing library with versions earlier than 7.1.2-24. Any system running this component, regardless of operating environment, is susceptible when the library is exposed to external input via sandboxed conversion services.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate risk, while the EPSS score is not available, suggesting no publicly reported exploitation prevalence. The flaw is listed as not present in the CISA KEV catalog. Attackers can exploit the issue remotely through image conversion services that accept user-supplied files; the exploitation requires the ability to submit files to the vulnerable image conversion process.

Generated by OpenCVE AI on June 30, 2026 at 23:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2-24 or later, which contains the corrected policy enforcement.
  • If an upgrade is delayed, tighten the policy configuration to disallow file creation or truncation outside of the specified safe directories, and disable the default 'path' policy where possible.
  • Enforce stricter file system permissions or use a read‑only or chrooted filesystem for the image conversion service so that even if a path traversal occurs, the attacker cannot write to critical files.

Generated by OpenCVE AI on June 30, 2026 at 23:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4680-1 imagemagick security update
Debian DSA Debian DSA DSA-6383-1 imagemagick security update
History

Thu, 02 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Wed, 01 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 30 Jun 2026 22:45:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-24 contains an incorrect policy check that allows attackers to create or truncate files disallowed by security policies. Remote attackers can bypass path policy restrictions in sandboxed conversion services to write arbitrary files outside intended boundaries.
Title ImageMagick - Policy Bypass via Incorrect Path Validation
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-22
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-01T14:55:29.511Z

Reserved: 2026-06-21T02:05:47.495Z

Link: CVE-2026-56377

cve-icon Vulnrichment

Updated: 2026-07-01T14:55:18.175Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-06-30T22:08:39Z

Links: CVE-2026-56377 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T04:30:06Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')