
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-109964 is a heap buffer underwrite (buffer underflow) vulnerability in ImageMagick's PICT image decoder, specifically in the DecodeImage() function within coders/pict.c, affecting only 32-bit builds. The flaw exists in ImageMagick versions before 7.1.2-33 (for the 7.x branch) and before 6.9.13-58 (for the 6.x branch). It was disclosed on October 13, 2026, with patches released simultaneously. The vulnerability carries a CVSS v3.1 base score of 5.6 (Medium) and a CVSS v4.0 base score of 6.3 (Medium) (GitHub Advisory, VulnCheck).
The root cause is a pointer arithmetic integer overflow (CWE-124: Buffer Underwrite / CWE-190: Integer Overflow or Wraparound) in the DecodeImage() function in coders/pict.c. On 32-bit systems, the expression q = pixels + y * (ssize_t) width * (ssize_t) GetPixelChannels(image) can overflow when an attacker supplies a crafted PICT file with maximized row, column, and bytes-per-line values, causing the computed pointer q to wrap around and point to memory below the allocated heap buffer. This bypasses existing bounds checks and allows writing up to 128 controlled bytes below the heap buffer. The fix adds an explicit underflow check (if (q < pixels)) in both the uncompressed and RLE pixel decoding paths (ImageMagick Advisory, Patch Commit 7.x, Patch Commit 6.x).
A successful exploit allows an unauthenticated attacker to write up to 128 controlled bytes below a heap buffer, which can result in arbitrary code execution or a service crash (denial of service) depending on the memory layout and exploitation technique employed. The vulnerability is limited to 32-bit builds of ImageMagick, reducing the scope of affected deployments. Confidentiality, integrity, and availability are all assessed as low impact under CVSS v3.1, reflecting the constrained write primitive and the high attack complexity required (GitHub Advisory, VulnCheck).
As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is 0.0, indicating very low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires high attack complexity — specifically, the target must be running a 32-bit build of ImageMagick and must process a crafted PICT file supplied by the attacker, which limits the practical attack surface (VulnCheck).
DecodeImage() within coders/pict.c.q = pixels + y * width * GetPixelChannels(image) overflows on 32-bit systems, causing q to point below the allocated heap buffer..pict, .pic) files in upload directories or temporary image processing folders, particularly with anomalously large or maximized header field values.convert, magick) such as shells (/bin/sh, /bin/bash) or network utilities (curl, wget, nc).coders/pict.c or DecodeImage with corruption or abort signals.Upgrade ImageMagick to version 7.1.2-33 or later (for 7.x users) or 6.9.13-58 or later (for 6.x users), as patches are available for both branches (GitHub Advisory, Red Hat Bugzilla). If immediate patching is not feasible, restrict or disable processing of PICT image files from untrusted sources — this can be enforced via ImageMagick's security policy (policy.xml) by denying the PICT coder. Additionally, where possible, deploy 64-bit builds of ImageMagick, as the vulnerability is specific to 32-bit builds and the pointer arithmetic overflow does not occur on 64-bit architectures.
The vulnerability was reported by researcher idoprog and acknowledged by the ImageMagick maintainer dlemstra via a GitHub Security Advisory (ImageMagick Advisory). Early social media activity was observed on Mastodon (infosec.exchange) shortly after disclosure, and the vulnerability was indexed by multiple security tracking platforms including VulnDB, Vulners, and VulnCheck within hours of publication. No major media coverage or significant community controversy has been noted, consistent with the moderate severity and limited scope of the issue.
Fix availability across major Linux distributions and their releases.
bookworm
imagemagick
sid
imagemagick: 8:7.1.2.33+dfsg1-1
trixie
imagemagick
bionic (esm-infra)
imagemagick
devel
imagemagick
focal (esm-apps)
imagemagick
jammy
imagemagick
jammy (esm-apps)
imagemagick
noble
imagemagick
noble (esm-apps)
imagemagick
resolute
imagemagick
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."