Description
ImageMagick before 7.1.2-15 contains a use-after-free vulnerability in the PDB decoder that uses a stale pointer when memory allocation fails. Attackers can trigger this vulnerability by processing malicious PDB files to cause crashes or write a single zero byte to freed memory.
Published: 2026-07-10
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick prior to version 7.1.2‑15 is vulnerable to a use‑after‑free condition within its PDB decoder. When a memory allocation fails, the decoder uses a stale pointer and writes to freed memory, which can result in an application crash or the writing of a single zero byte to memory that has already been released. The primary impact is memory corruption that can lead to a denial‑of‑service or to unintended modification of data if the corrupted memory region is subsequently read or used.

Affected Systems

The flaw affects all installations of ImageMagick older than 7.1.2‑15. No platform dependencies are specified beyond the general ImageMagick suite. Users who run the vulnerable versions on any operating system, including Linux, macOS, or Windows, are potentially affected. The vulnerability applies to every product that includes the PDB decoding functionality as standard in releases before the patch.

Risk and Exploitability

With a CVSS score of 6.3 the weakness sits in the medium‑to‑high range, while the EPSS score being below 1 % indicates a very low likelihood of attack at the time of analysis. The vulnerability is not listed in the CISA KEV catalog, suggesting it is not currently exploited in the wild. Based on the description, it is inferred that the most probable attack vector involves an attacker supplying a crafted PDB file to an ImageMagick instance that processes untrusted input, such as a web application rendering images, an email server processing attachments, or any service that ingests‑supplied pictures. If the attacker can influence the processing path, they can trigger the use‑after‑free and cause a crash or corrupt a small portion of memory.

Generated by OpenCVE AI on July 29, 2026 at 10:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2‑15 or newer, which contains the fix for the use‑after‑free bug.
  • If an upgrade cannot be performed immediately, disable support for PDB files in the ImageMagick configuration or in the consuming application to prevent the decoder from being invoked.
  • Implement strict input validation that allows only approved safe image formats, such as PNG or JPEG, and reject PDB files outright.

Generated by OpenCVE AI on July 29, 2026 at 10:57 UTC.

Tracking

Sign in to view the affected projects.

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

Sat, 11 Jul 2026 12:15:00 +0000

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

None

threat_severity

Moderate


Fri, 10 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'}


Fri, 10 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-15 contains a use-after-free vulnerability in the PDB decoder that uses a stale pointer when memory allocation fails. Attackers can trigger this vulnerability by processing malicious PDB files to cause crashes or write a single zero byte to freed memory.
Title ImageMagick - Use-After-Free Write in PDB Decoder
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-416
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-10T15:06:42.233Z

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

Link: CVE-2026-56373

cve-icon Vulnrichment

Updated: 2026-07-10T15:06:31.962Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-10T13:57:58Z

Links: CVE-2026-56373 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T11:00:13Z

Weaknesses