ImageMagick < 6.9.13-44 / 7.x < 7.1.2-19 Multiple Vulnerabilities

high Nessus Plugin ID 306547

Synopsis

The remote host has an application installed that is affected by multiple vulnerabilities.

Description

The remote host has a version of ImageMagick installed that is prior to 6.9.13-44 and 7.x prior to 7.1.2-19. It is, therefore, affected by multiple vulnerabilities:

- A heap buffer overflow occurs in the MVG decoder that could result in an out of bounds write when processing a crafted image. (CVE-2026-33901)

- Magick frees the memory of the XML tree via the `DestroyXMLTree()` function; however, this process is executed recursively with no depth limit imposed. When Magick processes an XML file with deeply nested structures, it will exhaust the stack memory, resulting in a Denial of Service (DoS) attack. (CVE-2026-33908)

- A heap out-of-bounds write in the JP2 encoder with when a user specifies an invalid sampling index.
(CVE-2026-40310)

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

Solution

Upgrade to ImageMagick version 6.9.13-44 / 7.1.2-19 or later.

See Also

http://www.nessus.org/u?f79dc138

http://www.nessus.org/u?2be3b258

http://www.nessus.org/u?9e72f0c4

http://www.nessus.org/u?57fd35ca

http://www.nessus.org/u?1832029c

http://www.nessus.org/u?b8e8c101

http://www.nessus.org/u?cbabf11e

Plugin Details

Severity: High

ID: 306547

File Name: imagemagick_7_1_2_19.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 4/15/2026

Updated: 4/15/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

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

CVSS Score Source: CVE-2026-33901

CVSS v3

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: cpe:/a:imagemagick:imagemagick

Required KB Items: installed_sw/ImageMagick

Patch Publication Date: 4/12/2026

Vulnerability Publication Date: 4/13/2026

Reference Information

CVE: CVE-2026-33899, CVE-2026-33901, CVE-2026-33902, CVE-2026-33905, CVE-2026-33908, CVE-2026-40310, CVE-2026-40311