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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cimg | No fix yet | — |
| Debian 13 | cimg | No fix yet | — |
| Debian 12 | cimg | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | cimg | 1.7.9+dfsg-2ubuntu0.18.04.1 | USN-4039-1 |
| Ubuntu 16.04 LTS | cimg | No fix yet | — |
Advisories 1
- USN-4039-1 CImg vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
References
- https://github.com/xiaoqx/pocs/tree/master/cimg
- USN-4039-1 vendor-advisory