Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS / 26.04 LTS : imagemagick vulnerabilities (USN-9314-1)

medium Nessus Plugin ID 391221

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS / 26.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-9314-1 advisory.

It was discovered that ImageMagick incorrectly handled recursion when processing certain MSL, 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 22.04 LTS. (CVE-2026-25971, CVE-2026-33908, CVE-2026-107208)

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 22.04 LTS. (CVE-2026-33899, CVE-2026-33901, CVE-2026-42050, CVE-2026-46520, CVE-2026-46521, CVE-2026-46523, CVE-2026-46559)

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 22.04 LTS. (CVE-2026-42326, CVE-2026-45358, CVE-2026-45359, CVE-2026-45624)

It was discovered that ImageMagick did not enforce the list length security policy when decoding certain PSD and MNG images. 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 22.04 LTS.
(CVE-2026-45031, CVE-2026-45664)

It was discovered that ImageMagick incorrectly handled certain MIFF images, leading to an infinite loop. 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 22.04 LTS. (CVE-2026-46522)

It was discovered that ImageMagick incorrectly handled memory when dithering certain images with masks and when decoding certain ICON images, leading to out-of-bounds writes. 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-48724, CVE-2026-53461)

It was discovered that ImageMagick incorrectly handled certain MVG and 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 22.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-48734, CVE-2026-49218, CVE-2026-53463)

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 22.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-48994)

It was discovered that ImageMagick incorrectly parsed certain filenames. An attacker could possibly use this issue to bypass the security policy and read restricted files through symbolic links. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-49219)

It was discovered that ImageMagick did not limit certain memory requests, and leaked memory when handling invalid command-line options. An attacker could possibly use these issues to cause ImageMagick to use excessive memory, leading to a denial of service. These issues only affected Ubuntu 26.04 LTS. (CVE-2026-53460, CVE-2026-53464)

It was discovered that ImageMagick incorrectly handled certain XCF images, leading to an integer overflow and an out-of-bounds read. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. (CVE-2026-53466)

It was discovered that ImageMagick did not initialize all pixels when decoding certain MNG images. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-53467)

It was discovered that ImageMagick incorrectly handled certain MVG images and certain JP2 encoder arguments, leading to heap-based 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 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-55577, CVE-2026-55597)

It was discovered that ImageMagick did not limit recursion depth when processing certain MVG images. 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, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-55594)

It was discovered that ImageMagick incorrectly handled certain arguments to the connected-components operation, leading to an infinite loop. 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 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-55595)

It was discovered that ImageMagick did not correctly enforce the security policy for certain paths. An attacker could possibly use these issues to bypass the security policy and read or write arbitrary files.
(CVE-2026-55628, CVE-2026-56377)

It was discovered that ImageMagick incorrectly handled large binomial kernel values, leading to a division by zero. An attacker could possibly use this issue to cause ImageMagick to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.
(CVE-2026-56363)

It was discovered that ImageMagick did not free memory when writing certain MNG images failed. An attacker could possibly use this issue to cause ImageMagick to use excessive memory, leading to a denial of service.
(CVE-2026-56365)

It was discovered that ImageMagick incorrectly handled memory allocation failures when processing certain images with the meta coder, leading to a use-after-free. 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 and Ubuntu 24.04 LTS. (CVE-2026-56376)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/CVE-2026-107208

https://ubuntu.com/security/CVE-2026-25971

https://ubuntu.com/security/CVE-2026-33899

https://ubuntu.com/security/CVE-2026-33901

https://ubuntu.com/security/CVE-2026-33908

https://ubuntu.com/security/CVE-2026-42050

https://ubuntu.com/security/CVE-2026-42326

https://ubuntu.com/security/CVE-2026-45031

https://ubuntu.com/security/CVE-2026-45358

https://ubuntu.com/security/CVE-2026-45359

https://ubuntu.com/security/CVE-2026-45624

https://ubuntu.com/security/CVE-2026-45664

https://ubuntu.com/security/CVE-2026-46520

https://ubuntu.com/security/CVE-2026-46521

https://ubuntu.com/security/CVE-2026-46522

https://ubuntu.com/security/CVE-2026-46523

https://ubuntu.com/security/CVE-2026-46559

https://ubuntu.com/security/CVE-2026-48724

https://ubuntu.com/security/CVE-2026-48734

https://ubuntu.com/security/CVE-2026-48994

https://ubuntu.com/security/CVE-2026-49218

https://ubuntu.com/security/CVE-2026-49219

https://ubuntu.com/security/CVE-2026-53460

https://ubuntu.com/security/CVE-2026-53461

https://ubuntu.com/security/CVE-2026-53463

https://ubuntu.com/security/CVE-2026-53464

https://ubuntu.com/security/CVE-2026-53466

https://ubuntu.com/security/CVE-2026-53467

https://ubuntu.com/security/CVE-2026-55577

https://ubuntu.com/security/CVE-2026-55594

https://ubuntu.com/security/CVE-2026-55595

https://ubuntu.com/security/CVE-2026-55597

https://ubuntu.com/security/CVE-2026-55628

https://ubuntu.com/security/CVE-2026-56363

https://ubuntu.com/security/CVE-2026-56365

https://ubuntu.com/security/CVE-2026-56376

https://ubuntu.com/security/CVE-2026-56377

https://ubuntu.com/security/notices/USN-9314-1

Plugin Details

Severity: Medium

ID: 391221

File Name: ubuntu_USN-9314-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/2/2026

Updated: 12/2/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-25971

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 2.9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-56376

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:14.04:-:lts, cpe:/o:canonical:ubuntu_linux:16.04:-:lts, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, cpe:/o:canonical:ubuntu_linux:24.04:-:lts, cpe:/o:canonical:ubuntu_linux:26.04:-:lts, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:imagemagick-6-common, p-cpe:/a:canonical:ubuntu_linux:imagemagick-6.q16, p-cpe:/a:canonical:ubuntu_linux:imagemagick-6.q16hdri, p-cpe:/a:canonical:ubuntu_linux:imagemagick-7-common, p-cpe:/a:canonical:ubuntu_linux:imagemagick-7.q16, p-cpe:/a:canonical:ubuntu_linux:imagemagick-7.q16hdri, p-cpe:/a:canonical:ubuntu_linux:imagemagick-common, p-cpe:/a:canonical:ubuntu_linux:imagemagick, p-cpe:/a:canonical:ubuntu_linux:libimage-magick-perl, p-cpe:/a:canonical:ubuntu_linux:libimage-magick-q16-perl, p-cpe:/a:canonical:ubuntu_linux:libimage-magick-q16hdri-perl, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-6-headers, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-6.q16-5v5, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-6.q16-7, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-6.q16-8, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-6.q16-9t64, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-6.q16hdri-7, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-6.q16hdri-8, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-6.q16hdri-9t64, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-7-headers, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-7.q16-5, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b-7.q16hdri-5, p-cpe:/a:canonical:ubuntu_linux:libmagick%2b%2b5, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6-arch-config, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6-headers, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16-2-extra, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16-2, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16-3-extra, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16-3, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16-6-extra, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16-6, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16-7-extra, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16-7t64, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16hdri-3-extra, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16hdri-3, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16hdri-6-extra, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16hdri-6, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16hdri-7-extra, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-6.q16hdri-7t64, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-7-arch-config, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-7-headers, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-7.q16-10-extra, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-7.q16-10, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-7.q16hdri-10-extra, p-cpe:/a:canonical:ubuntu_linux:libmagickcore-7.q16hdri-10, p-cpe:/a:canonical:ubuntu_linux:libmagickcore5-extra, p-cpe:/a:canonical:ubuntu_linux:libmagickcore5, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-6-headers, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-6.q16-2, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-6.q16-3, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-6.q16-6, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-6.q16-7t64, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-6.q16hdri-3, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-6.q16hdri-6, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-6.q16hdri-7t64, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-7-headers, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-7.q16-10, p-cpe:/a:canonical:ubuntu_linux:libmagickwand-7.q16hdri-10, p-cpe:/a:canonical:ubuntu_linux:libmagickwand5, p-cpe:/a:canonical:ubuntu_linux:perlmagick

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 2/24/2026

Reference Information

CVE: CVE-2026-107208, CVE-2026-25971, CVE-2026-33899, CVE-2026-33901, CVE-2026-33908, CVE-2026-42050, CVE-2026-42326, CVE-2026-45031, CVE-2026-45358, CVE-2026-45359, CVE-2026-45624, CVE-2026-45664, CVE-2026-46520, CVE-2026-46521, CVE-2026-46522, CVE-2026-46523, CVE-2026-46559, CVE-2026-48724, CVE-2026-48734, CVE-2026-48994, CVE-2026-49218, CVE-2026-49219, CVE-2026-53460, CVE-2026-53461, CVE-2026-53463, CVE-2026-53464, CVE-2026-53466, CVE-2026-53467, CVE-2026-55577, CVE-2026-55594, CVE-2026-55595, CVE-2026-55597, CVE-2026-55628, CVE-2026-56363, CVE-2026-56365, CVE-2026-56376, CVE-2026-56377

IAVB: 2026-B-0051-S, 2026-B-0093-S, 2026-B-0123-S, 2026-B-0130-S, 2026-B-0138-S, 2026-B-0157-S, 2026-B-0177, 2026-B-0280-S

USN: 9314-1