Description
Buffer Overflow vulnerability in function LoadRGB in PluginDDS.cpp in FreeImage 3.18.0 allows remote attackers to run arbitrary code and cause other impacts via crafted image file.
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 13 | freeimage | 3.18.0+ds2-10 | — |
| Debian 12 | freeimage | 3.18.0+ds2-9+deb12u1 | DSA-5579-1 |
| Debian 11 | freeimage | 3.18.0+ds2-6+deb11u1 | DSA-5579-1 |
| Debian 10 | freeimage | 3.18.0+ds2-1+deb10u2 | DLA-3662-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | freeimage | 3.18.0+ds2-10build4 | — |
| Ubuntu 22.04 LTS | freeimage | 3.18.0+ds2-6ubuntu5.1 | USN-6586-1 |
| Ubuntu 20.04 LTS | freeimage | 3.18.0+ds2-1ubuntu3.1 | USN-6586-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | freeimage | 3.17.0+ds1-5+deb9u1ubuntu0.1~esm1 | USN-6586-1 |
| Ubuntu Pro 16.04 LTS | freeimage | 3.17.0+ds1-2ubuntu0.1+esm1 | USN-6586-1 |
| Ubuntu Pro 14.04 LTS | freeimage | 3.15.4-3ubuntu0.1+esm3 | USN-6586-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | freeimage | 3.18.0.1909-1.1 | openSUSE-SU-2024:13293-1 |
Advisories 4
- USN-6586-1 freeimage vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DSA-5579-1 freeimage - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3662-1 freeimage - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:13293-1 freeimage-devel-3.18.0.1909-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://sourceforge.net/p/freeimage/bugs/299/
- FEDORA-2023-a8b26b910d vendor-advisory
- FEDORA-2023-2840932fa8 vendor-advisory
- [debian-lts-announce] 20231125 [SECURITY] [DLA 3662-1] freeimage security update mailing-list
- DSA-5579 vendor-advisory