Description
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.
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 | 3.5.0+dfsg-1 | — |
| Debian 13 | cimg | 3.5.0+dfsg-1 | — |
| Debian 12 | cimg | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | cimg | No fix yet | — |
| Ubuntu 16.04 LTS | cimg | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | cimg | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | USN-7437-1 |
| Ubuntu Pro 22.04 LTS | cimg | 2.9.4+dfsg-3ubuntu0.1~esm1 | USN-7437-1 |
| Ubuntu Pro 18.04 LTS | cimg | 1.7.9+dfsg-2ubuntu0.18.04.2+esm1 | USN-7437-1 |
Advisories 1
- USN-7437-1 cimg vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026