Skip to content
OpenAdvisories
Low · 3.6 CVE-2026-140368 EUVD-2026-140185GHSA-4cgw-v5hg-6x29

ImageMagick before 7.1.2-36 Heap Buffer Overflow When Encoding 12-Bit Images

Published Dec 1, 2026 · Updated Dec 2, 2026 · Assigned by VulnCheck

Description

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in encoders that export pixels for 12-bit images before encoding the image data. Attackers can supply a crafted image that, when processed and encoded, triggers an out-of-bounds heap write, causing crashes or memory corruption.

Affected products

VendorProductAffectedFixed
ImageMagick ImageMagick 7.0.0 – < 7.1.2-36, < 6.9.13-61 7.1.2-36

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 imagemagick No fix yet —
Debian 13 imagemagick No fix yet —
Debian 12 imagemagick No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 imagemagick No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS imagemagick No fix yet —
Ubuntu Pro 24.04 LTS imagemagick No fix yet —
Ubuntu Pro 22.04 LTS imagemagick No fix yet —
Ubuntu Pro 20.04 LTS imagemagick No fix yet —
Ubuntu Pro 18.04 LTS imagemagick No fix yet —
Ubuntu Pro 16.04 LTS imagemagick No fix yet —
Ubuntu Pro 14.04 LTS imagemagick No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ImageMagick 7.1.2.36-1.1 openSUSE-SU-2026:12760-1

Advisories 2

References