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 before version 7.1.2‑15 is vulnerable to a use‑after‑free condition in its PDB decoder. When a memory allocation fails, the decoder dereferences a stale pointer and writes a single zero byte to memory that has already been freed, which can cause an application crash or corrupt a small area of memory. The primary impact is memory corruption that can lead to a denial of service or unintended data modification if the corrupted region is subsequently accessed.

Affected Systems

The flaw affects all installations of ImageMagick older than 7.1.2‑15 across all supported platforms, including Linux, macOS, and Windows. Any product or service that incorporates the PDB decoding functionality provided by these older releases is potentially vulnerable.

Risk and Exploitability

With a CVSS score of 6.3 the weakness sits in the medium‑to‑high range, while the EPSS score of less than 1 % indicates a very low likelihood of exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog, suggesting it is not presently exploited in the wild. 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 handling attachments, or any service that ingests pictures—thereby triggering the use‑after‑free and causing a crash or modest memory corruption.

Generated by OpenCVE AI on August 1, 2026 at 12:51 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 PDB files in ImageMagick or in the consuming application to prevent the decoder from being invoked.
  • Restrict input to approved safe image formats, such as PNG or JPEG, and reject PDB files outright.

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

Status : Analyzed

Published: 2026-07-10T15:16:43.450

Modified: 2026-07-13T15:15:51.143

Link: CVE-2026-56373

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-56373 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T13:00:03Z

Weaknesses