Linux Distros Unpatched Vulnerability : CVE-2025-62171

high Nessus Plugin ID 271682

Synopsis

The Linux/Unix host has one or more packages installed with a vulnerability that the vendor indicates will not be patched.

Description

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available.

- ImageMagick is an open source software suite for displaying, converting, and editing raster image files.
In ImageMagick versions prior to 7.1.2-7 and 6.9.13-32, an integer overflow vulnerability exists in the BMP decoder on 32-bit systems. The vulnerability occurs in coders/bmp.c when calculating the extent value by multiplying image columns by bits per pixel. On 32-bit systems with size_t of 4 bytes, a malicious BMP file with specific dimensions can cause this multiplication to overflow and wrap to zero. The overflow check added to address CVE-2025-57803 is placed after the overflow occurs, making it ineffective. A specially crafted 58-byte BMP file with width set to 536,870,912 and 32 bits per pixel can trigger this overflow, causing the bytes_per_line calculation to become zero. This vulnerability only affects 32-bit builds of ImageMagick where default resource limits for width, height, and area have been manually increased beyond their defaults. 64-bit systems with size_t of 8 bytes are not vulnerable, and systems using default ImageMagick resource limits are not vulnerable. The vulnerability is fixed in versions 7.1.2-7 and 6.9.13-32. (CVE-2025-62171)

Note that Nessus relies on the presence of the package as reported by the vendor.

Solution

There is no known solution at this time.

See Also

https://access.redhat.com/security/cve/cve-2025-62171

https://security-tracker.debian.org/tracker/CVE-2025-62171

https://ubuntu.com/security/CVE-2025-62171

Plugin Details

Severity: High

ID: 271682

File Name: unpatched_CVE_2025_62171.nasl

Version: 1.3

Type: local

Agent: unix

Family: Misc.

Published: 10/27/2025

Updated: 11/25/2025

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.9

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

CVSS Score Source: CVE-2025-62171

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 7.1

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

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:imagemagick, p-cpe:/a:centos:centos:imagemagick-c%2b%2b-devel, cpe:/o:debian:debian_linux:12.0, cpe:/o:canonical:ubuntu_linux:25.10, p-cpe:/a:debian:debian_linux:imagemagick, p-cpe:/a:centos:centos:imagemagick-perl, p-cpe:/a:redhat:enterprise_linux:imagemagick-perl, p-cpe:/a:centos:centos:imagemagick-devel, p-cpe:/a:redhat:enterprise_linux:imagemagick-c%2b%2b, p-cpe:/a:redhat:enterprise_linux:imagemagick, p-cpe:/a:redhat:enterprise_linux:imagemagick-c%2b%2b-devel, cpe:/o:canonical:ubuntu_linux:25.04, cpe:/o:centos:centos:7, p-cpe:/a:redhat:enterprise_linux:imagemagick-devel, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:imagemagick-doc, p-cpe:/a:centos:centos:imagemagick-doc, p-cpe:/a:centos:centos:imagemagick, p-cpe:/a:centos:centos:imagemagick-c%2b%2b

Required KB Items: Host/cpu, Host/local_checks_enabled, global_settings/vendor_unpatched, Host/OS/identifier

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 10/17/2025

Reference Information

CVE: CVE-2025-62171