Description
Integer overflow in the ljpeg_start function in dcraw 7.00 and earlier allows remote attackers to cause a denial of service (crash) via a crafted image, which triggers a buffer overflow, related to the len variable.
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 | darktable | 1.6.7-1 | — |
| Debian 14 | dcraw | 9.26-1 | — |
| Debian 14 | exactimage | 0.9.1-5 | — |
| Debian 14 | kodi | 16.0+dfsg1-1 | — |
| Debian 14 | libraw | 0.16.2-1 | — |
| Debian 14 | rawtherapee | 4.2-2 | — |
| Debian 13 | darktable | 1.6.7-1 | — |
| Debian 13 | dcraw | 9.26-1 | — |
| Debian 13 | exactimage | 0.9.1-5 | — |
| Debian 13 | freeimage | 3.15.4-6 | — |
| Debian 13 | kodi | 16.0+dfsg1-1 | — |
| Debian 13 | libraw | 0.16.2-1 | — |
| Debian 13 | rawtherapee | 4.2-2 | — |
| Debian 12 | darktable | 1.6.7-1 | — |
| Debian 12 | dcraw | 9.26-1 | — |
| Debian 12 | exactimage | 0.9.1-5 | — |
| Debian 12 | freeimage | 3.15.4-6 | — |
| Debian 12 | kodi | 16.0+dfsg1-1 | — |
| Debian 12 | libraw | 0.16.2-1 | — |
| Debian 12 | rawtherapee | 4.2-2 | — |
| Debian 8 | freeimage | 3.15.4-4.2+deb8u1 | DSA-3692-1 |
| Debian 6.0 | exactimage | 0.8.1-3+deb6u4 | DLA-228-1 |
| Debian 6.0 | libraw | 0.9.1-1+deb6u1 | DLA-243-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | kodi | No fix yet | — |
| Ubuntu 24.04 LTS | kodi | No fix yet | — |
| Ubuntu 16.04 LTS | kodi +1 | No fix yet | — |
| Ubuntu 16.04 LTS | libraw | 0.17.1-1ubuntu0.1 | USN-3492-1 |
| Ubuntu 14.04 LTS | libraw | 0.15.4-1ubuntu0.1 | USN-3492-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | freeimage | 3.15.4-3ubuntu0.1+esm2 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | libraw | 0.15.4-45.1 | SUSE-SU-2025:1380-1 |
| SLES 12 SP3 | libraw | 0.15.4-9.2 | SUSE-SU-2017:2300-1 |
| SLES 12 SP2 | libraw | 0.15.4-9.2 | SUSE-SU-2017:2300-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rawtherapee | 5.8-5.1 | openSUSE-SU-2024:10588-1 |
Advisories 7
- USN-3492-1 libraw vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-243-1 libraw - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-228-1 exactimage - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3692-1 freeimage - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:1380-1 Security update for libraw SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10588-1 rawtherapee-5.8-5.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2300-1 Security update for libraw SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 74590 vdb-entry
- GLSA-201706-17 vendor-advisory
- https://github.com/LibRaw/LibRaw/commit/4606c28f494a750892c5c1ac7903e62dd1c6fdb5
- FEDORA-2015-8482 vendor-advisory
- FEDORA-2015-8717 vendor-advisory
- GLSA-201701-54 vendor-advisory
- FEDORA-2015-8706 vendor-advisory
- FEDORA-2015-8671 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- FEDORA-2015-8170 vendor-advisory
- FEDORA-2015-8621 vendor-advisory
- FEDORA-2015-8699 vendor-advisory
- FEDORA-2015-8647 vendor-advisory
- 20150511 [oCERT-2015-006] dcraw input sanitization errors mailing-list
- FEDORA-2015-8498 vendor-advisory
- http://www.ocert.org/advisories/ocert-2015-006.html
- https://github.com/rawstudio/rawstudio/commit/983bda1f0fa5fa86884381208274198a620f006e