Description
ImageMagick before 7.1.2-33 and 6.9.13-58 contains a heap buffer underwrite vulnerability in DecodeImage() in coders/pict.c on 32-bit builds due to pointer arithmetic overflow. Attackers can supply a crafted PICT file with maximized row, column and bytes-per-line values to bypass bounds checks and write up to 128 controlled bytes below the heap buffer, causing crashes or code execution.
Published: 2026-10-13
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch
AI Analysis

Impact

ImageMagick images processed by the PICT decoder can contain malformed header values that cause a 32‑bit pointer arithmetic overflow in the DecodeImage() function. An attacker who supplies a specially crafted PICT file with maximized row, column, and bytes‑per‑line fields can bypass bounds checks and write up to 128 bytes of controlled data below a heap buffer. This heap buffer underwrite can cause the application to crash or, if the corrupted data is executed, allow arbitrary code execution. The flaw is a classic buffer underwrite (CWE‑124) and therefore impacts integrity and availability of systems that invoke the affected decoder.

Affected Systems

The vulnerability exists in ImageMagick releases prior to 7.1.2-33 and 6.9.13-58, on 32‑bit builds. Any deployment that uses these versions and processes PICT files – for example web servers, imaging services, or content‑management systems that rely on ImageMagick – is affected. Upgrading beyond the identified revision or disabling PICT support removes the authority for the exploit.

Risk and Exploitability

The CVSS v3 score of 6.3 indicates a moderate severity. No EPSS score is available, so current exploit probability is unknown, but the flaw is exploitable through a crafted file, which is a common attack vector for image processing libraries. The issue is not listed in CISA’s KEV catalog, suggesting no known mass exploitation yet. However, systems that accept user supplied images and run on 32‑bit ImageMagick could be targeted by mounting a denial‑of‑service attack or attempting to execute code via the underwrite.

Generated by OpenCVE AI on October 13, 2026 at 19:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 7.1.2-33 or later, or to 6.9.13-58 or later.
  • If the application does not require PICT support, disable PICT decoding by removing the pict.c module or disabling the format in the configuration.
  • Run image processing in a sandboxed environment or under a dedicated user with limited privileges, and restrict access to memory allocation functions to mitigate the impact of any future buffer overflows.

Generated by OpenCVE AI on October 13, 2026 at 19:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4875-1 imagemagick security update
History

Wed, 14 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 13 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
Description ImageMagick before 7.1.2-33 and 6.9.13-58 contains a heap buffer underwrite vulnerability in DecodeImage() in coders/pict.c on 32-bit builds due to pointer arithmetic overflow. Attackers can supply a crafted PICT file with maximized row, column and bytes-per-line values to bypass bounds checks and write up to 128 controlled bytes below the heap buffer, causing crashes or code execution.
Title ImageMagick before 7.1.2-33 and 6.9.13-58 Heap Buffer Underwrite in PICT Decoder
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-124
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T16:43:16.967Z

Reserved: 2026-10-13T11:26:13.464Z

Link: CVE-2026-109964

cve-icon Vulnrichment

Updated: 2026-10-13T15:47:50.863Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-13T14:17:35.907

Modified: 2026-11-03T18:24:03.170

Link: CVE-2026-109964

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-13T13:35:45Z

Links: CVE-2026-109964 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T20:00:16Z

Weaknesses
  • CWE-124

    Buffer Underwrite ('Buffer Underflow')