Description
ImageMagick before 7.1.2-26 contains a policy bypass vulnerability in the APNG encoder and external delegates due to missing validation checks. Attackers can write files to disallowed paths by bypassing configured policy restrictions through the APNG encoding process.
Published: 2026-07-11
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick before version 7.1.2‑26 contains a policy bypass that allows the APNG encoder to write files to any path without enforcing the configured policy rules due to missing validation checks. This flaw is a form of improper access control, as the product permits a malicious actor to create or overwrite files in locations that should be protected, potentially including configuration files, system binaries, or web‑root directories. Consequently, an attacker could tamper with critical files or plant malicious executables, as the weakness is marked by CWE‑22 and CWE‑59.

Affected Systems

The affected product is ImageMagick released by ImageMagick. All versions older than 7.1.2‑26 are vulnerable; updating to 7.1.2‑26 or later removes the flaw.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity, while the EPSS score of less than 1% shows a low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attacker must cause the target system to process an APNG image—this could happen locally or via a component that performs image conversion—so the attack vector is likely local or application‑level. Because the flaw enables arbitrary file writes, it could be leveraged for privilege escalation or the execution of malicious code if trusted files are overwritten.

Generated by OpenCVE AI on July 29, 2026 at 09:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑26 or later so that the APNG encoder validates policy restrictions properly.
  • If a patch is not yet available, disable APNG processing by removing or restricting the PNG external delegate in the ImageMagick policy configuration.
  • Ensure the policy configuration explicitly denies file writes to sensitive directories to prevent any remaining write operations via external delegates.

Generated by OpenCVE AI on July 29, 2026 at 09:05 UTC.

Tracking

Sign in to view the affected projects.

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

Tue, 14 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sun, 12 Jul 2026 00:15:00 +0000

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

None

threat_severity

Low


Sat, 11 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-26 contains a policy bypass vulnerability in the APNG encoder and external delegates due to missing validation checks. Attackers can write files to disallowed paths by bypassing configured policy restrictions through the APNG encoding process.
Title ImageMagick before 7.1.2-26 Policy Bypass via APNG encoder
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-59
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-14T14:34:06.527Z

Reserved: 2026-07-10T21:53:55.768Z

Link: CVE-2026-61858

cve-icon Vulnrichment

Updated: 2026-07-14T14:10:08.688Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-11T13:01:08Z

Links: CVE-2026-61858 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T09:15:05Z

Weaknesses
  • CWE-22

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

  • CWE-59

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