Raphael Geissert reported two denial of service flaws in LibRaw [1]: CVE-2013-1438: Specially crafted photo files may trigger a division by zero, an infinite loop, or a null pointer dereference in libraw leading to denial of service in applications using the library. These vulnerabilities appear to originate in dcraw and as such any program or library based on it is affected. To name a few confirmed applications: dcraw, ufraw. Other affected software: shotwell, darktable, and libkdcraw (Qt-style interface to libraw, using embedded copy) which is used by digikam. Google Picasa apparently uses dcraw/ufraw so it might be affected. dcraw's homepage has a list of applications that possibly still use it: http://cybercom.net/~dcoffin/dcraw/ Affected versions of libraw: confirmed: 0.8-0.15.3; but it is likely that all versions are affected. Fixed in: libraw 0.15.4 CVE-2013-1439: Specially crafted photo files may trigger a series of conditions in which a null pointer is dereferenced leading to denial of service in applications using the library. These three vulnerabilities are in/related to the 'faster LJPEG decoder', which upstream states was introduced in LibRaw 0.13 and support for which is going to be dropped in 0.16. Affected versions of libraw: 0.13.x-0.15.x Fixed in: libraw 0.15.4 Patches: 0.15.x: https://github.com/LibRaw/LibRaw/commit/11909cc59e712e09b508dda729b99aeaac2b29ad Future 0.16.x: https://github.com/LibRaw/LibRaw/commit/9ae25d8c3a6bfb40c582538193264f74c9b93bc0 (upstream decided to commit all fixes in a single commit. The missing changes in the patch for 0.16 are the ones that correspond to CVE-2013-4139. I.e. 0.16 patchset is CVE-2013-1438, while the 0.15 patchset is CVE-2013-4138 + CVE-2013-4139.) Upstream states that there will be backported fixes for the 0.14 branch but there won't be any new release and "[they] should use 0.14-stable branch from github repo".
Created LibRaw tracking bugs for this issue: Affects: fedora-all [bug 1002717]
Created dcraw tracking bugs for this issue: Affects: fedora-all [bug 1011753]
I've checked out the commits fixing the issue(s) in LibRaw, and it seems as if only CVE-2013-1438 applies to dcraw, as CVE-2013-1439 affects the "faster LJPEG decoder" which is only in LibRaw, and there only in versions 0.13.x-0.15.x. Do you concur? Should we have a separate bug for this issue in ufraw, or shall I handle it in the context of dcraw?
Created ufraw tracking bugs for this issue: Affects: fedora-all [bug 1014011]
dcraw-9.19-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
ufraw-0.19.2-10.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
dcraw-9.19-4.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
ufraw-0.19.2-10.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
ufraw-0.19.2-10.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
dcraw-9.19-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
This is the patch for the 0.14-stable series: https://github.com/LibRaw/LibRaw/commit/c4e374ea6c979a7d1d968f5082b7d0ea8cd27202
According to https://bugs.mageia.org/show_bug.cgi?id=12693 and https://bugs.mageia.org/show_bug.cgi?id=11149#c14 the version of rawtherapee in Fedora is vulnerable to CVE-2013-1438
Created rawtherapee tracking bugs for this issue: Affects: fedora-all [bug 1063126]
Statement: Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.