Findings

CVE-2026-109964

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.

Published Oct 13, 2026 · updated Oct 14, 2026

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.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 13, 2026 · OSV.dev

    Detected

    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.

  2. Oct 14, 2026 · OSV.dev

    Updated

    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.

Affected

  • Debian:12 imagemagick8:6.9.11.60+dfsg-1.6, 8:6.9.11.60+dfsg-1.6+deb12u1, 8:6.9.11.60+dfsg-1.6+deb12u10
  • Debian:13 imagemagick8:7.1.1.43+dfsg1-1, 8:7.1.1.43+dfsg1-1+deb13u1, 8:7.1.1.43+dfsg1-1+deb13u10
  • Debian:14 imagemagick8:7.1.1.43+dfsg1-1, 8:7.1.1.46+dfsg1-1, 8:7.1.1.47+dfsg1-1

Sources

References