ImageMagick < 6.9.13-61 / 7.x < 7.1.2-36 Multiple Vulnerabilities

medium Nessus Plugin ID 393343

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-61, or 7.x prior to 7.1.2-36. It is, therefore, affected by multiple vulnerabilities:

- ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in the MAC image decoder, which writes past the end of a heap buffer when a specific decoding failure occurs.
Attackers can supply a crafted MAC image to corrupt heap memory, causing a crash or other memory corruption. (CVE-2026-140370)

- ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains an uncontrolled resource consumption vulnerability in the MSVG decoder, where a crafted image causes repeated embedded-image decoding and amplified intermediate output. Attackers can supply a crafted MSVG image to exhaust system resources and cause a denial of service. (CVE-2026-140374)

- ImageMagick before 7.1.2-36 and 6.x before 6.9.13-61 contains a heap buffer overflow in the PCL, PDF, PS, and XPS decoders that writes past the bounds of a heap buffer when processing crafted input. Attackers can supply a crafted image for decoding to corrupt heap memory, causing crashes or limited data integrity impact. (CVE-2026-140373)

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-61 / 7.1.2-36 or later.

See Also

http://www.nessus.org/u?01b8868b

http://www.nessus.org/u?0b6eb54a

http://www.nessus.org/u?10ac2d10

http://www.nessus.org/u?174f240f

http://www.nessus.org/u?24a10558

http://www.nessus.org/u?47dc8517

http://www.nessus.org/u?4817039e

http://www.nessus.org/u?5ac0f0d1

http://www.nessus.org/u?6667325f

http://www.nessus.org/u?6691f1c3

http://www.nessus.org/u?6c02d072

http://www.nessus.org/u?8e5642a0

http://www.nessus.org/u?921e7e1c

http://www.nessus.org/u?9971d716

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

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

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

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

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

Plugin Details

Severity: Medium

ID: 393343

File Name: imagemagick_6_9_13_61_7_1_2_36.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 12/3/2026

Updated: 12/3/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 51.61

CVSS v2

Risk Factor: High

Base Score: 8.5

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

CVSS Score Source: CVE-2026-140370

CVSS v3

Risk Factor: High

Base Score: 8.2

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

CVSS v4

Risk Factor: Medium

Base Score: 6.9

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

CVSS Score Source: CVE-2026-140373

Vulnerability Information

CPE: cpe:/a:imagemagick:imagemagick

Required KB Items: installed_sw/ImageMagick

Patch Publication Date: 11/16/2026

Vulnerability Publication Date: 11/16/2026

Reference Information

CVE: CVE-2026-140351, CVE-2026-140353, CVE-2026-140354, CVE-2026-140355, CVE-2026-140356, CVE-2026-140357, CVE-2026-140358, CVE-2026-140359, CVE-2026-140360, CVE-2026-140361, CVE-2026-140362, CVE-2026-140364, CVE-2026-140370, CVE-2026-140371, CVE-2026-140373, CVE-2026-140374, CVE-2026-140375, CVE-2026-140376, CVE-2026-140377

CWE: 122, 125, 131, 362, 400, 416, 681, 770, 787, 835, 908