CVE-2026-130665

ImageMagick before 7.1.2-35 Use After Free in EXR Decoder

Published Nov 18, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
Description
ImageMagick before 7.1.2-35 contains a use after free vulnerability in the EXR decoder that is triggered when a specific memory allocation fails. Attackers can supply crafted EXR images processed under memory pressure to trigger the use after free, causing crashes or memory corruption.

Analysis

AI-generated

Technical impact

ImageMagick versions prior to 7.1.2-35 contain a use-after-free flaw in the EXR decoder that is triggered when a particular memory allocation fails. An attacker can supply a specially crafted EXR image that, when processed under memory pressure, causes the decoder to use freed memory, resulting in either a crash or arbitrary memory corruption. The flaw directly compromises the integrity and availability of the system and could be leveraged to execute code if the memory corruption is exploited further.

Affected Systems

The vulnerability affects all releases of ImageMagick before version 7.1.2-35. It applies to the ImageMagick ImageMagick product, as identified by the CNA. No specific subcomponents or optional packages are listed beyond the EXR decoding functionality.

Risk and Exploitability

The CVSS score of 6.3 classifies this as a medium severity vulnerability. The EPSS metric is not available, so the current exploitation probability is unknown, but the flaw requires only a malicious EXR file to trigger the error. It is not listed in the CISA KEV catalog, indicating no publicly known exploitation evidence at the time of this analysis. Because the flaw arises from a delivered EXR image, the likely attack vector is an attacker providing a malicious file, either through user uploads, file downloads, or embedded resources, and the vulnerability is exploitable without requiring additional access privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2-35 or later, which fixes the use-after-free flaw.
  • If an upgrade cannot be performed immediately, disable or remove EXR decoding support from the ImageMagick installation to prevent processing of exploitable files until a patch is applied.
  • Add defensive checks that reject overly large or malformed EXR files before they reach the decoder, and isolate the image processing workload in a sandboxed environment to limit the impact of any potential memory corruption.

Generated by OpenCVE AI on November 18, 2026 at 20:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description ImageMagick before 7.1.2-35 contains a use after free vulnerability in the EXR decoder that is triggered when a specific memory allocation fails. Attackers can supply crafted EXR images processed under memory pressure to trigger the use after free, causing crashes or memory corruption.
Title ImageMagick before 7.1.2-35 Use After Free in EXR Decoder
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-415
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
Nov 18, 2026, 5:55 PM
Reserved
Nov 17, 2026, 3:34 PM
Status
Undergoing Analysis
Published
Nov 18, 2026, 12:17 PM
Modified
Nov 18, 2026, 6:19 PM