5.6Medium

CVE-2026-109964ImageMagick before 7.1.2-33 and 6.9.13-58 Heap Buffer Underwrite in PICT Decoder

ImageMagick ImageMagick Published: (1 month ago)

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.

Weakness (CWE): CWE-124

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ImageMagick ImageMagick 7.0.0-0 – < 7.1.2-33, < 6.9.13-58

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* < 6.9.13-58
  • cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* ≥ 7.0.0-0 < 7.1.2-33