ImageMagick < 7.1.2-1 Heap-Buffer Overflow (GHSA-cjc8-g9w8-chfw)

high Nessus Plugin ID 258076

Synopsis

The remote host has an application installed that is affected by heap-buffer overflow vulnerability.

Description

The remote host has a version of ImageMagick installed that is prior to 7.1.2-1. It is, therefore, affected by a vulnerability as referenced in GHSA-cjc8-g9w8-chfw advisory.

- ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-1, ImageMagick is vulnerable to heap-buffer overflow read around the handling of images with separate alpha channels when performing image magnification in ReadOneMNGIMage. This can likely be used to leak subsequent memory contents into the output image. This issue has been patched in version 7.1.2-1. (CVE-2025-55004)

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

Solution

Upgrade to ImageMagick version 7.1.2-1 or later.

See Also

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

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

Plugin Details

Severity: High

ID: 258076

File Name: imagemagick_GHSA-cjc8-g9w8-chfw.nasl

Version: 1.2

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 8/28/2025

Updated: 8/29/2025

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: High

Base Score: 9

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

CVSS Score Source: CVE-2025-55004

CVSS v3

Risk Factor: High

Base Score: 7.6

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

Vulnerability Information

CPE: cpe:/a:imagemagick:imagemagick

Required KB Items: installed_sw/ImageMagick

Patch Publication Date: 8/11/2025

Vulnerability Publication Date: 8/11/2025

Reference Information

CVE: CVE-2025-55004

IAVB: 2025-B-0145