Read the docs

ImageMagick -fx Use After Free When Memory Allocation Fails

Priority LOW 30CWE-476Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-v2x3-wpmg-c4w6. Fix status from GitHub. Impact type from CWE-476.

Summary

A use after free in ImageMagick's -fx option occurs when a memory allocation fails during a specific -fx operation. The weakness is classified as CWE-476 (NULL Pointer Dereference). Exploitation is local (CVSS AV:L) with high attack complexity and requires no privileges or user interaction, and the impact is limited to availability (CVSS A:L, base score 2.9, LOW).

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

When a memory allocation fails in a specific -fx operation a use after free will occur.

Why it matters now

Fix Fixed ImageMagick (c/c++): 7.1.2-32

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ImageMagick (c/c++)< 7.1.2-327.1.2-32Patch availableGHSA-v2x3-wpmg-c4w6
  • ImageMagick (c/c++) Vendor— Affected < 7.1.2-32 Fixed in 7.1.2-32 Patch available GHSA-v2x3-wpmg-c4w6

Remediation

Upgrade ImageMagick (c/c++) to version 7.1.2-32 or later, which fixes the issue. Versions before 7.1.2-32 are affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-v2x3-wpmg-c4w6 ImageMagick (c/c++) Fixed in 7.1.2-32 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-v2x3-wpmg-c4w6

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences