Skip to content
OpenAdvisories

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. `WriteUHDRImage` in `coders/uhdr.c` uses `int` arithmetic to compute the pixel buffer size. Prior to version 7.1.2-15, when image dimensions are large, the multiplication overflows 32-bit `int`, causing an undersized heap allocation followed by an out-of-bounds write. This can crash the process or potentially lead to an out of bounds heap write. Version 7.1.2-15 contains a patch.

Affected products

VendorProductAffectedFixed
ImageMagick ImageMagick < 7.1.2-15 —

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 8:7.1.2.15+dfsg1-1 —
Debian 13 imagemagick 8:7.1.1.43+dfsg1-1+deb13u6 DSA-6158-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 imagemagick 8:7.1.2.3+dfsg1-1ubuntu0.1 USN-8263-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS imagemagick 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm9 USN-8263-1
Ubuntu Pro 22.04 LTS imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm10 USN-8263-1
Ubuntu Pro 20.04 LTS imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10 USN-8263-1
Ubuntu Pro 18.04 LTS imagemagick 8:6.9.7.4+dfsg-16ubuntu6.15+esm12 USN-8263-1
Ubuntu Pro 16.04 LTS imagemagick 8:6.8.9.9-7ubuntu5.16+esm20 USN-8263-1
Ubuntu Pro 14.04 LTS imagemagick 8:6.7.7.10-6ubuntu3.13+esm21 USN-8263-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ImageMagick 7.1.2.15-1.1 openSUSE-SU-2026:10267-1
openSUSE Leap 16.0 ImageMagick 7.1.2.0-160000.6.1 openSUSE-SU-2026:20337-1
ReleasePackageFixed inAdvisory
Alpine v3.24 imagemagick 7.1.2.15-r0 —
Alpine v3.23 imagemagick 7.1.2.15-r0 —
Alpine v3.22 imagemagick 7.1.2.15-r0 —

Affected packages

Advisories 6

References