ADVISORIES

Ubuntu Security Notice

USN-8592-1

imagemagick vulnerabilities

Details

Hao Ren discovered that ImageMagick incorrectly handled certain images when using the wavelet-denoise operation. An attacker could possibly use this issue to trigger an out-of-bounds heap write, resulting in arbitrary code execution. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2026-30936)

It was discovered that ImageMagick incorrectly handled extremely large XWD images. An attacker could possibly use this issue to trigger an out-of-bounds heap write, resulting in arbitrary code execution. (CVE-2026-30937)

It was discovered that ImageMagick incorrectly handled extremely large SFW images on 32-bit systems. An attacker could possibly use this issue to trigger an integer overflow, resulting in a denial of service. (CVE-2026-31853)

It was discovered that ImageMagick incorrectly handled memory allocation failures in the sixel encoder. An attacker could possibly use this issue to trigger a stack buffer overflow, resulting in arbitrary code execution. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2026-32259)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSimagemagick
All versions before 8:6.7.7.10-6ubuntu3.13+esm24 (fixed in 8:6.7.7.10-6ubuntu3.13+esm24)
Ubuntu:Pro:16.04:LTSimagemagick
All versions before 8:6.8.9.9-7ubuntu5.16+esm23 (fixed in 8:6.8.9.9-7ubuntu5.16+esm23)
Ubuntu:Pro:18.04:LTSimagemagick
All versions before 8:6.9.7.4+dfsg-16ubuntu6.15+esm15 (fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm15)
Ubuntu:Pro:20.04:LTSimagemagick
All versions before 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13 (fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13)
Ubuntu:Pro:22.04:LTSimagemagick
All versions before 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13 (fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13)
Ubuntu:Pro:24.04:LTSimagemagick
All versions before 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12 (fixed in 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12)

References