Amazon Linux 2 : gimp, --advisory ALAS2GIMP-2026-017 (ALASGIMP-2026-017)

high Nessus Plugin ID 337238

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of gimp installed on the remote host is prior to 2.8.22-1. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2GIMP-2026-017 advisory.

A flaw was found in GIMP. A remote attacker could exploit an integer overflow vulnerability in the FITS image loader by providing a specially crafted FITS file. This integer overflow leads to a zero-byte memory allocation, which is then subjected to a heap buffer overflow when processing pixel data. Successful exploitation could result in a denial of service (DoS) or potentially arbitrary code execution.
(CVE-2026-40915)

A flaw was found in the file-fits plugin in GIMP. When processing a FITS image file, the plugin calculates memory allocation sizes using signed 32-bit integers for width and height. If a crafted file sets both values to large values, their product exceeds 2^31 and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when cfitsio subsequently writes a full row of pixels in the buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service. (CVE-2026-66758)

Tenable has extracted the preceding description block directly from the tested product 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

Run 'yum update gimp' or or 'yum update --advisory ALAS2GIMP-2026-017' to update your system.

See Also

https://alas.aws.amazon.com//AL2/ALAS2GIMP-2026-017.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2026-40915.html

https://explore.alas.aws.amazon.com/CVE-2026-66758.html

Plugin Details

Severity: High

ID: 337238

File Name: al2_ALASGIMP-2026-017.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 8/18/2026

Updated: 8/18/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.77

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

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

CVSS Score Source: CVE-2026-40915

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:gimp-debuginfo, p-cpe:/a:amazon:linux:gimp-devel-tools, p-cpe:/a:amazon:linux:gimp-devel, p-cpe:/a:amazon:linux:gimp-libs, p-cpe:/a:amazon:linux:gimp

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/17/2026

Vulnerability Publication Date: 4/15/2026

Reference Information

CVE: CVE-2026-40915, CVE-2026-66758

IAVB: 2026-B-0100-S