Intel

AIKIDO-2026-264895

ImageMagick is vulnerable to Heap-based Buffer Overflow

CVE-2026-105401Published Oct 30, 2026
October 30, 2026

60

CVE Score

Medium

Heap-based Buffer Overflow

Are you affected? Scan for Free

TL;DR

Before the fix, the distributed pixel cache server's OpenDistributeCache read a client-supplied metacontent_extent from the open-cache header and passed it to OpenPixelCache, which added it to packet_size without an overflow check; a crafted value wrapped the size, allocating an undersized heap cache that a later client write command filled past its end, crashing the server. Any client that can connect to the distributed pixel cache server and knows the policy shared-secret value can trigger this. The fix checks the addition with HeapOverflowCheckAdd and throws ResourceLimitError before the cache is allocated.

How do I fix this?

Upgrade the ImageMagick package to 7.1.2-31 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and run a distributed pixel cache server reachable by clients that know the configured policy shared-secret value.

Package

ImageMagick

Versions

7.0.1-0 - 7.1.2-30

Fixed in 7.1.2-31

Background info

ImageMagick is vulnerable to Heap-based Buffer Overflow in versions 7.0.1-0 - 7.1.2-30.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea