Description
In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.
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 | libjpeg-turbo | 1:1.5.2-1 | — |
| Debian 13 | libjpeg-turbo | 1:1.5.2-1 | — |
| Debian 12 | libjpeg-turbo | 1:1.5.2-1 | — |
| Debian 9 | libjpeg-turbo | 1:1.5.1-2+deb9u1 | DLA-2302-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libjpeg6b | No fix yet | — |
| Ubuntu 26.04 LTS | libjpeg6b | No fix yet | — |
| Ubuntu 25.10 | libjpeg6b | No fix yet | — |
| Ubuntu 24.04 LTS | libjpeg6b | No fix yet | — |
| Ubuntu 22.04 LTS | libjpeg6b | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libjpeg6b | No fix yet | — |
| Ubuntu 18.04 LTS | libjpeg9 +1 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libjpeg-turbo | 1.4.2-0ubuntu3.4+esm1 | USN-5553-1 |
| Ubuntu Pro 16.04 LTS | libjpeg6b | 1:6b2-2ubuntu0.1~esm1 | USN-5497-2 |
| Ubuntu Pro 16.04 LTS | libjpeg9 | 1:9b-1ubuntu1+esm1 | USN-5336-1 |
| Ubuntu Pro 14.04 LTS | libjpeg-turbo | 1.3.0-0ubuntu2.1+esm2 | USN-5553-1 |
| Ubuntu Pro 14.04 LTS | libjpeg6b | 6b1-4ubuntu1+esm1 | USN-5497-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | fltk | 1.3.8-1 | — |
Advisories 5
- USN-5553-1 libjpeg-turbo vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-5497-1 libjpeg6b vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-5497-2 libjpeg6b vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-5336-1 libjpeg9 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-2302-1 libjpeg-turbo - security update Debian Security (DSA / DLA) · Mar 9, 2026