# CVE-2026-109281: ImageMagick heap buffer over-read in -fx option

Source: https://junglewise.ai/threats/cve-2026-109281-imagemagick-7-1-0-21-before-7-1-2-32-contains-a-heap-buffer-over  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-12. Updated: 2026-10-16  
License: CC BY 4.0 with a link back

CVE-2026-109281 · Severity: medium · CVSS 4.4 · Published 2026-10-12

ImageMagick is an image processing library used to manipulate and convert images. A crafted image file with a malicious -fx expression can cause the application to read beyond allocated memory, potentially leaking sensitive data from the process. This requires local access and user interaction to trigger.

Technologies: [ImageMagick](https://junglewise.ai/threats/technologies/imagemagick). Vendors: [ImageMagick](https://junglewise.ai/threats/vendors/imagemagick).

## Quick answers

**Is CVE-2026-109281 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-109281 being exploited in the wild.

**How severe is CVE-2026-109281?** Medium severity, with a CVSS score of 4.4, published 12 October 2026.

**Which products and versions are affected?** ImageMagick 7.1.0-21 before 7.1.2-32.

**Is there a fix for CVE-2026-109281?** Yes: fixed in 7.1.2-32. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-109281 attacked?** It is attacked with local access.

**Am I affected by CVE-2026-109281?** Check whether you run ImageMagick at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 7.1.2-32

## Technical details

A heap buffer over-read exists in the fx.c module of ImageMagick when processing the -fx option. The vulnerability occurs in the GetIntensity function where an array index is incorrectly dereferenced, causing out-of-bounds memory access. An attacker who can provide a crafted -fx expression to a local user can read limited heap memory contents; the fix involves correcting the array indexing in MagickCore/fx.c.

## Affected products

- ImageMagick ImageMagick 7.1.0-21 before 7.1.2-32

## Timeline

- 2026-09-27: disclosed
- 2026-10-12: advisory

## References

- [https://github.com/ImageMagick/ImageMagick/commit/0e82a4d0b294581186ed7b3e1dce59c858a73dba](https://github.com/ImageMagick/ImageMagick/commit/0e82a4d0b294581186ed7b3e1dce59c858a73dba)
- [https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cvgp-q487-j22w](https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-cvgp-q487-j22w)

## Related threats

- [ImageMagick infinite loop in SVG decoder](https://junglewise.ai/threats/cve-2026-123273-imagemagick-before-7-1-2-35-and-6-9-13-60-contains-an-infinite)
- [ImageMagick memory leak in XMP profile handling](https://junglewise.ai/threats/cve-2026-116155-imagemagick-before-6-9-13-58-and-7-x-before-7-1-2-33-contains-a)
- [ImageMagick memory leak in XML parsing depth limit](https://junglewise.ai/threats/cve-2026-116154-imagemagick-before-6-9-13-58-and-7-x-before-7-1-2-33-contains-a)
- [ImageMagick memory leak in MAT decoder](https://junglewise.ai/threats/cve-2026-116152-imagemagick-before-7-1-2-33-contains-a-memory-leak-vulnerability)
- [ImageMagick stack buffer overflow in bzip2 decompression](https://junglewise.ai/threats/cve-2026-116149-imagemagick-before-6-9-13-58-and-7-x-before-7-1-2-33-contains-a)
