USN-8592-1: imagemagick vulnerabilities

Published Aug 10, 2026
·
Updated

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 Software

123 affected componentsFixes available
ImageMagick ImageMagick
ubuntu/imagemagick<8:6.7.7.10-6ubuntu3.13+esm24
8:6.7.7.10-6ubuntu3.13+esm24
ubuntu/imagemagick<8:6.8.9.9-7ubuntu5.16+esm23
8:6.8.9.9-7ubuntu5.16+esm23
ubuntu/imagemagick<8:6.9.7.4+dfsg-16ubuntu6.15+esm15
8:6.9.7.4+dfsg-16ubuntu6.15+esm15
ubuntu/imagemagick<8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
ubuntu/imagemagick<8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
ubuntu/imagemagick<8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
All of the following
ubuntu/imagemagick<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/imagemagick-6.q16<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/imagemagick-6.q16hdri<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libimage-magick-q16-perl<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libimage-magick-q16hdri-perl<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmagick++-6.q16-9t64<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmagick++-6.q16hdri-9t64<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmagickcore-6.q16-7-extra<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmagickcore-6.q16-7t64<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmagickcore-6.q16hdri-7-extra<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmagickcore-6.q16hdri-7t64<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmagickwand-6.q16-7t64<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libmagickwand-6.q16hdri-7t64<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/imagemagick<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/imagemagick-6.q16<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/imagemagick-6.q16hdri<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libimage-magick-q16-perl<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libimage-magick-q16hdri-perl<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmagick++-6.q16-8<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmagick++-6.q16hdri-8<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmagickcore-6.q16-6<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmagickcore-6.q16-6-extra<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmagickcore-6.q16hdri-6<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmagickcore-6.q16hdri-6-extra<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmagickwand-6.q16-6<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libmagickwand-6.q16hdri-6<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/imagemagick<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libimage-magick-q16-perl<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libimage-magick-q16hdri-perl<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libmagickcore-6.q16-6-extra<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libmagickcore-6.q16hdri-6-extra<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libmagickwand-6.q16-6<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libmagickwand-6.q16hdri-6<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/imagemagick-6.q16<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/imagemagick-6.q16hdri<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libimage-magick-q16-perl<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libimage-magick-q16hdri-perl<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libmagick++-6.q16-7<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libmagick++-6.q16hdri-7<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libmagickcore-6.q16-3<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libmagickcore-6.q16-3-extra<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libmagickcore-6.q16hdri-3<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libmagickcore-6.q16hdri-3-extra<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libmagickwand-6.q16-3<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libmagickwand-6.q16hdri-3<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/imagemagick<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/imagemagick-6.q16<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/libimage-magick-q16-perl<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/libmagick++-6.q16-5v5<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/libmagickcore-6.q16-2<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/libmagickcore-6.q16-2-extra<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/libmagickwand-6.q16-2<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/imagemagick<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04
All of the following
ubuntu/libmagick++5<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04
All of the following
ubuntu/libmagickcore5<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04
All of the following
ubuntu/libmagickcore5-extra<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04
All of the following
ubuntu/libmagickwand5<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04
All of the following
ubuntu/perlmagick<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=14.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.7.7.10-6ubuntu3.13+esm24
  2. Upgrade

    Upgrade ubuntu/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.8.9.9-7ubuntu5.16+esm23
  3. Upgrade

    Upgrade ubuntu/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm15
  4. Upgrade

    Upgrade ubuntu/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm13
  5. Upgrade

    Upgrade ubuntu/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm13
  6. Upgrade

    Upgrade ubuntu/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm12
  7. Upgrade

    Upgrade ubuntu/imagemagick to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  8. Upgrade

    Upgrade ubuntu/imagemagick-6.q16 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  9. Upgrade

    Upgrade ubuntu/imagemagick-6.q16hdri to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  10. Upgrade

    Upgrade ubuntu/libimage-magick-q16-perl to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  11. Upgrade

    Upgrade ubuntu/libimage-magick-q16hdri-perl to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  12. Upgrade

    Upgrade ubuntu/libmagick++-6.q16-9t64 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  13. Upgrade

    Upgrade ubuntu/libmagick++-6.q16hdri-9t64 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  14. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16-7-extra to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  15. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16-7t64 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  16. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16hdri-7-extra to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  17. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16hdri-7t64 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  18. Upgrade

    Upgrade ubuntu/libmagickwand-6.q16-7t64 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  19. Upgrade

    Upgrade ubuntu/libmagickwand-6.q16hdri-7t64 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  20. Upgrade

    Upgrade ubuntu/libmagick++-6.q16-8 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  21. Upgrade

    Upgrade ubuntu/libmagick++-6.q16hdri-8 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  22. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16-6 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  23. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16-6-extra to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  24. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16hdri-6 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  25. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16hdri-6-extra to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  26. Upgrade

    Upgrade ubuntu/libmagickwand-6.q16-6 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  27. Upgrade

    Upgrade ubuntu/libmagickwand-6.q16hdri-6 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  28. Upgrade

    Upgrade ubuntu/libmagick++-6.q16-7 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  29. Upgrade

    Upgrade ubuntu/libmagick++-6.q16hdri-7 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  30. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16-3 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  31. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16-3-extra to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  32. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16hdri-3 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  33. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16hdri-3-extra to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  34. Upgrade

    Upgrade ubuntu/libmagickwand-6.q16-3 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  35. Upgrade

    Upgrade ubuntu/libmagickwand-6.q16hdri-3 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  36. Upgrade

    Upgrade ubuntu/libmagick++-6.q16-5v5 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  37. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16-2 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  38. Upgrade

    Upgrade ubuntu/libmagickcore-6.q16-2-extra to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  39. Upgrade

    Upgrade ubuntu/libmagickwand-6.q16-2 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  40. Upgrade

    Upgrade ubuntu/libmagick++5 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  41. Upgrade

    Upgrade ubuntu/libmagickcore5 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  42. Upgrade

    Upgrade ubuntu/libmagickcore5-extra to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  43. Upgrade

    Upgrade ubuntu/libmagickwand5 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  44. Upgrade

    Upgrade ubuntu/perlmagick to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Aug 10, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software
Advisory Published
via OSV·08:04 PM
Data Sourced
via OSV·08:04 PM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203