CVE-2026-56373

ImageMagick - Use-After-Free Write in PDB Decoder

Published Jul 10, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Ubuntu USN Ubuntu USN USN-8739-1 ImageMagick vulnerabilities
Ubuntu USN Ubuntu USN USN-8739-2 ImageMagick vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:15 PM
Reserved
Jun 21, 2026, 2:05 AM
Status
Analyzed
Published
Jul 10, 2026, 3:16 PM
Modified
Oct 29, 2026, 9:17 PM
Severity
Moderate
Public date
Jul 10, 2026, 1:57 PM