
CVE catalog
CVE-2018-7641
cimg: CVE-2018-7641
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.23% · Oct 25, 2026
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, a different vulnerability than CVE-2018-7588. This is in a "32 bits colors" case, aka case 32.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cimg | sid | 4.0.4+dfsg-1 | fixed |
| Debian | cimg | forky | 4.0.4+dfsg-1 | fixed |
| Debian | cimg | trixie | 3.5.2+dfsg-1+deb13u1 | fixed |
| Debian | cimg | bookworm | 3.2.1+dfsg-1 | fixed |
| Ubuntu | cimg | 16.04 | 1.6.4+dfsg-1build1 | vulnerable |
| Ubuntu | cimg | 16.04 | 1.6.5+dfsg-1 | vulnerable |
| Ubuntu | cimg | pro | 1.7.9+dfsg-2 | vulnerable |
| Ubuntu | cimg | pro | 1.7.9+dfsg-2build1 | vulnerable |
| Ubuntu | cimg | pro | 1.7.9+dfsg-2ubuntu0.18.04.1 | vulnerable |
| Ubuntu | cimg | pro | 1.7.9+dfsg-2ubuntu0.18.04.2 | vulnerable |
| Ubuntu | cimg | pro | 1.7.9+dfsg-2ubuntu0.18.04.2+esm1 | vulnerable |
Fixed-version evidence
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [cimg-dev]Fixed
Source package: [cimg]
Details (2)
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · bookworm; dsa · cimg · debian · 12
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · bookworm; dsa · cimg · debian · 12
- [cimg-doc]Fixed
Source package: [cimg]
Details (2)
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · bookworm; dsa · cimg · debian · 12
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · bookworm; dsa · cimg · debian · 12
- [cimg-examples]Fixed
Source package: [cimg]
Details (2)
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · bookworm; dsa · cimg · debian · 12
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · bookworm; dsa · cimg · debian · 12
[Debian 13 (Trixie)]
- [cimg-dev]Fixed
Source package: [cimg]
Details (2)
3.5.2+dfsg-1+deb13u1· all · trixieFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · 13
3.5.2+dfsg-1+deb13u1· all · trixieFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · 13
- [cimg-doc]Fixed
Source package: [cimg]
Details (2)
3.5.2+dfsg-1+deb13u1· all · trixieFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · 13
3.5.2+dfsg-1+deb13u1· all · trixieFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · 13
- [cimg-examples]Fixed
Source package: [cimg]
Details (2)
3.5.2+dfsg-1+deb13u1· all · trixieFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · 13
3.5.2+dfsg-1+deb13u1· all · trixieFixed · Fixed:
2.3.6+dfsg-1dsa · cimg · debian · 13
Observed: