---
title: "CVE-2018-7587\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-7587?format=md
keywords: index, follow
---

# CVE-2018-7587

Publication date 1 March 2018

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2018-7587?format=md#impact-score)

Toggle side navigation

## Description

An issue was discovered in CImg v.220. DoS occurs when loading a crafted
bmp image that triggers an allocation failure in load\_bmp in CImg.h.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2018-7587?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| cimg | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Ignored end of life, was needed |
| 23.04 lunar | Ignored end of life, was needed |
| 22.10 kinetic | Ignored end of life, was needed |
| 22.04 LTS jammy | Not affected |
| 21.10 impish | Ignored end of life |
| 21.04 hirsute | Ignored end of life |
| 20.10 groovy | Ignored end of life |
| 20.04 LTS focal | Not affected |
| 19.10 eoan | Ignored end of life |
| 19.04 disco | Ignored end of life |
| 18.10 cosmic | Fixed 1.7.9+dfsg-2ubuntu0.18.10.1 |
| 18.04 LTS bionic | Fixed 1.7.9+dfsg-2ubuntu0.18.04.1 |
| 17.10 artful | Ignored end of life |
| 16.04 LTS xenial | Vulnerable |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [msalvatore](https://launchpad.net/~msalvatore)

no patch available as of 2019-06-05

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.8 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7587)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-7587)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-7587)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-7587)

### Related Ubuntu Security Notices (USN)

+ [USN-4039-1](https://usn.ubuntu.com/USN-4039-1)
+ CImg vulnerabilities
+ 26 June 2019

### Other references

* <https://github.com/xiaoqx/pocs/tree/master/cimg>
* <https://www.cve.org/CVERecord?id=CVE-2018-7587>
