Skip to main content

USN-9469-1: ImageMagick vulnerabilities

It was discovered that ImageMagick incorrectly handled certain images, leading to undefined behavior. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service. These issues only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2020-25675, CVE-2020-27751) It was discovered that ImageMagick incorrectly handled certain images, leading to undefined behavior. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2020-27757) It was discovered that ImageMagick incorrectly handled memory when processing certain images and morphology kernels, leading to buffer overflows. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. These issues only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-55005, CVE-2025-66628, CVE-2026-28494, CVE-2026-28686) It was discovered that ImageMagick incorrectly handled certain TIFF images. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2025-68469) It was discovered that ImageMagick incorrectly handled certain MSL files, leading to a stack overflow and use-after-free issues. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. These issues only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2026-23874, CVE-2026-26983, CVE-2026-28687) It was discovered that ImageMagick did not correctly enforce the security policy for certain pseudo-filenames. An attacker could possibly use this issue to bypass the security policy and read or write standard streams. This issue only affected Ubuntu 24.04 LTS. (CVE-2026-25966) It was discovered that ImageMagick incorrectly handled recursion when processing certain MSL data. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 24.04 LTS. (CVE-2026-25971) It was discovered that ImageMagick incorrectly handled memory when processing certain SVG images. An attacker could possibly use this issue to cause ImageMagick to use excessive memory, leading to a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2026-25985) It was discovered that ImageMagick incorrectly handled certain SVG images, and did not limit certain memory requests. An attacker could possibly use these issues to cause a denial of service. These issues 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-25989, CVE-2026-53460) It was discovered that ImageMagick did not properly handle symbolic links when enforcing the path security policy. An attacker could possibly use this issue to bypass the security policy and read or write arbitrary files. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2026-28689) It was discovered that ImageMagick incorrectly handled memory when processing certain images, leading to out-of-bounds writes and a use-after-free. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. These issues only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-33899, CVE-2026-42050, CVE-2026-46520, CVE-2026-46521, CVE-2026-46523) It was discovered that ImageMagick incorrectly handled certain MVG images, leading to a heap-based buffer overflow. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 20.04 LTS and Ubuntu 24.04 LTS. (CVE-2026-33901) It was discovered that ImageMagick did not limit recursion depth when evaluating certain fx expressions. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service. These issues only affected Ubuntu 26.04 LTS. (CVE-2026-33902, CVE-2026-46557) It was discovered that ImageMagick incorrectly handled recursion when processing certain XML and XMP data. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service. These issues only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-33908, CVE-2026-107208) It was discovered that ImageMagick incorrectly handled memory in certain operations, leading to out-of-bounds writes and use-after-free issues. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-40169, CVE-2026-61464, CVE-2026-62343, CVE-2026-86423, CVE-2026-86425, CVE-2026-106571) It was discovered that ImageMagick incorrectly handled memory when encoding and processing certain images, operations and profiles, leading to heap-based buffer overflows and a use-after-free. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. These issues only affected Ubuntu 26.04 LTS. (CVE-2026-40183, CVE-2026-53465, CVE-2026-55510, CVE-2026-62363, CVE-2026-106574) It was discovered that ImageMagick incorrectly handled certain images and image operations, leading to out-of-bounds reads. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or obtain sensitive information. These issues only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-42326, CVE-2026-45358, CVE-2026-45624) It was discovered that ImageMagick did not enforce the list length security policy when decoding certain PSD images. An attacker could possibly use this issue to cause ImageMagick to use excessive resources, leading to a denial of service. This issue only affected Ubuntu 20.04 LTS, Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-45031) It was discovered that ImageMagick incorrectly handled certain arguments to the connected-components operation, leading to a heap-based buffer over-read. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service, or obtain sensitive information. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-45359) It was discovered that ImageMagick did not enforce the list length security policy when decoding certain MNG images, and incorrectly handled certain MIFF images, leading to an infinite loop. An attacker could possibly use these issues to cause ImageMagick to use excessive resources, leading to a denial of service. These issues only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-45664, CVE-2026-46522) It was discovered that ImageMagick incorrectly handled certain options when encoding JP2 images, leading to a heap-based buffer overflow. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-46559) It was discovered that ImageMagick incorrectly handled certain images, command-line options, scripts and profiles, leading to infinite loops, excessive work and resource leaks. An attacker could possibly use these issues to cause ImageMagick to use excessive resources, leading to a denial of service. These issues only affected Ubuntu 26.04 LTS. (CVE-2026-48733, CVE-2026-61867, CVE-2026-61871, CVE-2026-66011, CVE-2026-106575, CVE-2026-106576) It was discovered that ImageMagick incorrectly handled certain MAT images on 32-bit systems, leading to a heap-based buffer overflow. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 24.04 LTS. (CVE-2026-48994) It was discovered that ImageMagick incorrectly handled certain DCM images and certain arguments to the distort operation. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service. These issues only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 24.04 LTS. (CVE-2026-49218, CVE-2026-53463) It was discovered that ImageMagick incorrectly handled certain ICON images, leading to an out-of-bounds write. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 24.04 LTS. (CVE-2026-53461) It was discovered that ImageMagick incorrectly handled certain arguments in the JP2 encoder, leading to a heap-based buffer overflow. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2026-55597) It was discovered that ImageMagick incorrectly handled certain operations and encoders, leading to out-of-bounds reads. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or obtain sensitive information. These issues only affected Ubuntu 26.04 LTS. (CVE-2026-56372, CVE-2026-56374) It was discovered that ImageMagick did not correctly enforce the security policy for certain paths and coders. An attacker could possibly use these issues to bypass the security policy and read or write arbitrary files. (CVE-2026-61858, CVE-2026-86424, CVE-2026-106579, CVE-2026-106580) It was discovered that ImageMagick did not correctly enforce the security policy for the script operation. An attacker could possibly use this issue to bypass the security policy and read arbitrary files. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-61859) It was discovered that ImageMagick incorrectly handled memory in certain error cases, leading to use-after-free issues. An attacker could possibly use these issues to cause ImageMagick to crash, resulting in a denial of service, or possibly execute arbitrary code. These issues only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-61860, CVE-2026-61861, CVE-2026-107209) It was discovered that ImageMagick did not release memory in certain error cases, and did not enforce the disk resource limit when decoding certain MAT images. An attacker could possibly use these issues to cause ImageMagick to use excessive resources, leading to a denial of service. (CVE-2026-61868, CVE-2026-61869, CVE-2026-61872, CVE-2026-86421, CVE-2026-107210) It was discovered that ImageMagick incorrectly handled certain truncated images, leading to an out-of-bounds read. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service, or obtain sensitive information. (CVE-2026-64685) It was discovered that ImageMagick did not properly limit resources and incorrectly handled memory when processing certain images and operations. An attacker could possibly use these issues to cause ImageMagick to crash or use excessive resources, leading to a denial of service. These issues only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-86420, CVE-2026-106573, CVE-2026-106578) It was discovered that ImageMagick did not limit recursion depth when processing certain CALS images. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. (CVE-2026-106572) It was discovered that ImageMagick did not properly escape certain values when generating PostScript output. An attacker could possibly use this issue to inject arbitrary code into the generated output. (CVE-2026-106577)

About

Kenya Education Network CERT(KENET-CERT) is a Cybersecurity Emergency Response Team and Co-ordination Center operated by the National Research and Education Network of Kenya. KENET-CERT coordination center promotes awareness on cybersecurity incidences as well as coordinates and assists member institutions in responding effectively to cyber security threats and incidences. KENET-CERT works closely with Kenya's National CIRT coordination center (CIRT/CC) as a sector CIRT for the academic institutions. KENET promotes use of ICT in Teaching, Learning and Research in Higher Education Institutions in Kenya. KENET aims to interconnect all the Universities, Tertiary and Research Institutions in Kenya by setting up a cost effective and sustainable private network with high speed access to the global Internet. KENET also facilitates electronic communication among students and faculties in member institutions, share learning and teaching resources by collaboration in Research and Development of Educational content.