StackPatch is liveSee product

Back to CVE digest
CVE-2026-25799 · cross-distro fix matrix

CVE-2026-25799: It was discovered that ImageMagick incorrectly handled certain malformed

Affects 2 Linux releases across 50 (distro × package) combinations. First disclosed: 2026-05-11.

Fix per ecosystem

Each block below is a distro release where CVE-2026-25799 has a known fix. Run the listed command on that distro to remediate.

Ubuntu bionic

Source: Ubuntu USN

  • imagemagick→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick
  • imagemagick-6-common→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-6-common
  • imagemagick-6-doc→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-6-doc
  • imagemagick-6.q16→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-6.q16
  • imagemagick-6.q16hdri→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-6.q16hdri
  • imagemagick-common→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-common
  • imagemagick-doc→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-doc
  • libimage-magick-perl→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libimage-magick-perl
  • libimage-magick-q16-perl→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libimage-magick-q16-perl
  • libimage-magick-q16hdri-perl→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libimage-magick-q16hdri-perl
  • libmagick++-6-headers→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-6-headers
  • libmagick++-6.q16-7→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-6.q16-7
  • libmagick++-6.q16-dev→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-6.q16-dev
  • libmagick++-6.q16hdri-7→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-6.q16hdri-7
  • libmagick++-6.q16hdri-dev→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-6.q16hdri-dev
  • libmagick++-dev→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-dev
  • libmagickcore-6-arch-config→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-6-arch-config
  • libmagickcore-6-headers→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-6-headers
  • libmagickcore-6.q16-3→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-6.q16-3
  • libmagickcore-6.q16-3-extra→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-6.q16-3-extra
  • libmagickcore-6.q16-dev→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-6.q16-dev
  • libmagickcore-6.q16hdri-3→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-6.q16hdri-3
  • libmagickcore-6.q16hdri-3-extra→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-6.q16hdri-3-extra
  • libmagickcore-6.q16hdri-dev→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-6.q16hdri-dev
  • libmagickcore-dev→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-dev
  • libmagickwand-6-headers→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickwand-6-headers
  • libmagickwand-6.q16-3→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickwand-6.q16-3
  • libmagickwand-6.q16-dev→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickwand-6.q16-dev
  • libmagickwand-6.q16hdri-3→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickwand-6.q16hdri-3
  • libmagickwand-6.q16hdri-dev→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickwand-6.q16hdri-dev
  • libmagickwand-dev→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickwand-dev
  • perlmagick→ fixed in8:6.9.7.4+dfsg-16ubuntu6.15+esm12USN-8263-1
    sudo apt-get install --only-upgrade -y perlmagick

Ubuntu focal

Source: Ubuntu USN

  • imagemagick→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick
  • imagemagick-6-common→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-6-common
  • imagemagick-6-doc→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-6-doc
  • imagemagick-6.q16→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-6.q16
  • imagemagick-6.q16hdri→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-6.q16hdri
  • imagemagick-common→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-common
  • imagemagick-doc→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y imagemagick-doc
  • libimage-magick-perl→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libimage-magick-perl
  • libimage-magick-q16-perl→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libimage-magick-q16-perl
  • libimage-magick-q16hdri-perl→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libimage-magick-q16hdri-perl
  • libmagick++-6-headers→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-6-headers
  • libmagick++-6.q16-8→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-6.q16-8
  • libmagick++-6.q16-dev→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-6.q16-dev
  • libmagick++-6.q16hdri-8→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-6.q16hdri-8
  • libmagick++-6.q16hdri-dev→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-6.q16hdri-dev
  • libmagick++-dev→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libmagick++-dev
  • libmagickcore-6-arch-config→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-6-arch-config
  • libmagickcore-6-headers→ fixed in8:6.9.10.23+dfsg-2.1ubuntu11.11+esm10USN-8263-1
    sudo apt-get install --only-upgrade -y libmagickcore-6-headers
Are YOU affected by CVE-2026-25799?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2026-25799dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. From $9/mo, 14-day free trial, cancel anytime.

See StackPatch (from $9/mo)