Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS : cimg vulnerabilities (USN-9480-1)

critical Nessus Plugin ID 394214

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-9480-1 advisory.

It was discovered that CImg did not properly handle certain BMP images, which could lead to a heap-based buffer over-read. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use these issues to cause CImg to crash, resulting in a denial of service, or obtain sensitive information. These issues only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-7588, CVE-2018-7637, CVE-2018-7638, CVE-2018-7639, CVE-2018-7640, CVE-2018-7641)

It was discovered that CImg did not properly handle certain BMP images, which could lead to a double free. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause CImg to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS.
(CVE-2018-7589)

It was discovered that CImg did not properly sanitize URLs when loading images from the network. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-1010174)

It was discovered that CImg did not properly handle certain PNM images, which could lead to integer overflows and heap-based buffer overflows. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause CImg to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-25693)

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

Update the affected cimg-examples package.

See Also

https://ubuntu.com/security/CVE-2018-7588

https://ubuntu.com/security/CVE-2018-7589

https://ubuntu.com/security/CVE-2018-7637

https://ubuntu.com/security/CVE-2018-7638

https://ubuntu.com/security/CVE-2018-7639

https://ubuntu.com/security/CVE-2018-7640

https://ubuntu.com/security/CVE-2018-7641

https://ubuntu.com/security/CVE-2019-1010174

https://ubuntu.com/security/CVE-2020-25693

https://ubuntu.com/security/notices/USN-9480-1

Plugin Details

Severity: Critical

ID: 394214

File Name: ubuntu_USN-9480-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/5/2026

Updated: 12/5/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.42

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2019-1010174

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:16.04:-:lts, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:cimg-examples

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/3/2026

Vulnerability Publication Date: 3/1/2018

Reference Information

CVE: CVE-2018-7588, CVE-2018-7589, CVE-2018-7637, CVE-2018-7638, CVE-2018-7639, CVE-2018-7640, CVE-2018-7641, CVE-2019-1010174, CVE-2020-25693

USN: 9480-1