Bugzilla – Bug 1060163
VUL-0: CVE-2017-14265: libraw: Stack based buffer overflow in the xtrans_interpolate function
Last modified: 2022-04-13 10:32:57 UTC
rh#1494405 A Stack-based Buffer Overflow was discovered in xtrans_interpolate in internal/dcraw_common.cpp in LibRaw before 0.18.3. It could allow a remote denial of service or code execution attack. References: https://bugzilla.redhat.com/show_bug.cgi?id=1494405 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-14265 http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-14265.html http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14265 https://github.com/LibRaw/LibRaw/issues/99
This is fixed with libraw 0.18.4 version update in Tumbleweed.
I do not see crash or valgrind errors with the testcase from the upstream bug. I get just: $ simple_dcraw crash-xtrans_interpolate-stack-overflow Cannot open_file crash-xtrans_interpolate-stack-overflow: Unsupported file format or not RAW file $
1xtrans-cfa-range.txt from the upstream bug points to part of https://github.com/LibRaw/LibRaw/commit/82616eff4c7f7437e96bdeeed238c3ef3dc12d60#diff-f29c1da0e3b6207b99ae3e301dcb547a
This is an autogenerated message for OBS integration: This bug (1060163) was mentioned in https://build.opensuse.org/request/show/528660 42.2 / libraw https://build.opensuse.org/request/show/528661 42.3 / libraw
Packages submitted to 42.2 and 42.3.
12/libraw is not affected, xtrans_interpolate contains just dcraw.c, which does not compile.
This is an autogenerated message for OBS integration: This bug (1060163) was mentioned in https://build.opensuse.org/request/show/528790 42.2 / libraw https://build.opensuse.org/request/show/528791 42.3 / libraw
@Petr thank you for your feedback.
openSUSE-SU-2017:2638-1: An update that fixes two vulnerabilities is now available. Category: security (moderate) Bug References: 1060163,1060321 CVE References: CVE-2017-13735,CVE-2017-14265 Sources used: openSUSE Leap 42.3 (src): libraw-0.17.1-11.1 openSUSE Leap 42.2 (src): libraw-0.17.1-2.11.1
is the dcraw package affected?
Fridrich is maintainer of dcraw package.
I don't see any crash with current dcraw version. I run it in valgrind to see whether it still tries to read over buffer, but not. So closing this one