CVE-2026-53460

ImageMagick: Policy Bypass can trigger out-of-Memory condition

Published Jun 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-50 and 7.1.2-25, a missing check for maximum memory request in AcquireAlignedMemory could trigger an out-of-Memory condition. This issue has been patched in versions 6.9.13-50 and 7.1.2-25.

Analysis

AI-generated

Technical impact

A missing check for the maximum memory request in ImageMagick's AcquireAlignedMemory function can lead to an out-of-memory condition when image data is processed. The vulnerability is classified as CWE-770, indicating improper limits or controls on memory allocation. If an attacker forces the library to allocate a very large block of memory, the process may become unresponsive or crash, resulting in a denial of service for the affected service.

Affected Systems

ImageMagick versions before 6.9.13-50 and before 7.1.2-25 are vulnerable. These releases lack the guard that was introduced in the patched versions 6.9.13-50 and 7.1.2-25. The vulnerability can affect any deployment of these older binaries, including those bundled in Linux and Windows distributions.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity. No EPSS data is available, and the issue is not listed in CISA's KEV catalog, suggesting limited public exploitation evidence. Based on the description, it is inferred that an attacker could trigger the out-of-memory condition by providing a specially crafted image to any component that processes images with an exposed or public interface. The likelihood of exploitation therefore depends on the exposure of the image-handling service; an unprotected or externally accessible service presents a higher risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ImageMagick 6.9.13-50 or newer, or 7.1.2-25 or newer, which includes the missing memory check.
  • Run ImageMagick processes inside a container or with Linux cgroups that enforce strict memory limits to prevent a single request from exhausting system RAM.
  • Sanitize or restrict image input before handing it to ImageMagick by disabling unsupported image types or validating image size and format against a whitelist.

Generated by OpenCVE AI on June 11, 2026 at 00:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4643-1 imagemagick security update
Debian DSA Debian DSA DSA-6356-1 imagemagick security update
Github GHSA Github GHSA GHSA-q62c-h75r-2xhc ImageMagick: Policy Bypass can Trigger an Out-of-Memory condition
History
Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick
Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-50 and 7.1.2-25, a missing check for maximum memory request in AcquireAlignedMemory could trigger an out-of-Memory condition. This issue has been patched in versions 6.9.13-50 and 7.1.2-25.
Title ImageMagick: Policy Bypass can trigger out-of-Memory condition
Weaknesses CWE-770
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2026, 12:44 AM
Reserved
Jun 9, 2026, 4:31 PM
Status
Modified
Published
Jun 10, 2026, 11:16 PM
Modified
Jul 23, 2026, 9:10 AM
Severity
Important
Public date
Jun 10, 2026, 10:02 PM