CVE-2018-7588 json
An issue was discovered in CImg v.220.
published 8y ago modified 4mo ago also EUVD-2018-19309
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image.
Patch / fix
- cimg Debian 14, Debian 13, Debian 12 2.3.6+dfsg-1
debian advisories DEBIAN-CVE-2018-7588
- cimg Ubuntu 18.04 LTS 1.7.9+dfsg-2ubuntu0.18.04.1
ubuntu advisories UBUNTU-CVE-2018-7588
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2018-7588 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-7588 updated cvss 3.3
CImg: heap-based buffer over-read via crafted BMP image in load_bmp in CImg.h
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/xiaoqx/pocs/tree/master/cimg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/xiaoqx/pocs/tree/master/cimg
exploit, third-party-advisory
-
usn.ubuntu.com
/4039-1/
vendor-advisory
-
github.com
/dtschump/CImg/issues/183
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/09/msg00030.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2020/10/msg00033.html
mailing-list
Sources
- CVE List CVE-2018-7588
- NVD CVE-2018-7588
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.