Description
When FreeImage 3.18.0 reads a special JXR file, the StreamCalcIFDSize function of JXRMeta.c repeatedly calls itself due to improper processing of the file, eventually causing stack exhaustion. An attacker can achieve a remote denial of service attack by sending a specially constructed 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 | No fix yet | — |
| Debian 12 | freeimage | No fix yet | — |
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 | — |
| Ubuntu 20.04 LTS | freeimage | 3.18.0+ds2-1ubuntu3.1 | — |
Show 2 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 | — |
| Ubuntu Pro 16.04 LTS | freeimage | 3.17.0+ds1-2ubuntu0.1+esm1 | — |