ImageMagick -fx Use After Free When Memory Allocation Fails
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ImageMagick (c/c++) | < 7.1.2-32 | 7.1.2-32 | Patch available | GHSA-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
- 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