
CVE catalog
CVE-2024-26540
CImg library vulnerabilities
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.31% · Oct 25, 2026
A heap-based buffer overflow in Clmg before 3.3.3 can occur via a crafted file to cimg_library::CImg<unsigned char>::_load_analyze.
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 | vulnerable |
| Ubuntu | cimg | noble | Not reported | vulnerable |
| Ubuntu | cimg | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | cimg-dev | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | cimg-doc | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | cimg-examples | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | cimg | 16.04 | 1.6.4+dfsg-1build1 | vulnerable |
| Ubuntu | cimg | 16.04 | 1.6.5+dfsg-1 | vulnerable |
| Ubuntu | cimg | pro | 3.2.1+dfsg-1 | vulnerable |
| Ubuntu | cimg | pro | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | cimg | 20.04 | 2.4.5+dfsg-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cimg | source | sid | 3.5.0+dfsg-1 | not yet assigned | Not reported | [1068153] |
| Debian | cimg | source | forky | 3.5.0+dfsg-1 | not yet assigned | Not reported | [1068153] |
| Debian | cimg | source | trixie | 3.5.0+dfsg-1 | not yet assigned | Not reported | [1068153] |
| Debian | cimg | source | bookworm | (unfixed) | not yet assigned | Not reported | [1068153] |
| Ubuntu | cimg | deb | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | cimg-dev | deb | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | cimg-doc | deb | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | cimg-examples | deb | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | cimg | deb | pro | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | Not reported | UBUNTU-CVE-2024-26540 | Not reported |
Notes
[bookworm] cimg: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-26540]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-26540]
- [https://security-tracker.debian.org/tracker/CVE-2024-26540]
- [https://ubuntu.com/security/notices/USN-7437-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]