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 7.1.2-26 contains a policy bypass that allows the APNG encoder to write files to any path without enforcing configured policy rules due to missing validation checks. This flaw is a form of improper access control, enabling a malicious actor to create or overwrite files in locations that should be protected, such as configuration files, system binaries, or web‑root directories. The weakness is classified as CWE-22 and CWE-59.

Affected Systems

ImageMagick released by ImageMagick. All pre‑7.1.2-26 versions are vulnerable; upgrading to 7.1.2-26 or later eliminates the flaw.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity, the EPSS score is less than 1% indicating a low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that an attacker must cause ImageMagick to process an APNG file – this could occur locally or via an application that performs image conversion – so the attack vector is likely local or application‑level. Because the flaw permits arbitrary file writes, it could be used for privilege escalation or malicious code execution if critical files are overwritten.

Generated by OpenCVE AI on August 1, 2026 at 11:24 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.
  • Disable APNG processing by removing or restricting the PNG external delegate in the ImageMagick policy configuration.
  • Configure the policy file to explicitly deny write access to sensitive directories, ensuring any remaining write attempts via external delegates are blocked.

Generated by OpenCVE AI on August 1, 2026 at 11:24 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

Status : Analyzed

Published: 2026-07-11T14:16:24.020

Modified: 2026-07-14T15:17:09.637

Link: CVE-2026-61858

cve-icon Redhat

Severity : Low

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

Links: CVE-2026-61858 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T11:30: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')