CVE-2017-6886
libraw: Memory corruption in the parse_tiff_ifd()
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (low), Ubuntu (low).
Description
An error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be exploited to corrupt memory.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.3 | libraw | 0.17.2-r1 |
| alpine 3.4 | libraw | 0.17.2-r1 |
| alpine 3.5 | libraw | 0.17.2-r1 |
| alpine 3.6 | libraw | 0.17.2-r1 |
| debian 11 | libraw | 0.18.2-2 |
| debian 12 | libraw | 0.18.2-2 |
| debian 13 | libraw | 0.18.2-2 |
| debian 14 | libraw | 0.18.2-2 |
| debian 7 | libraw | 0.14.6-2+deb7u2 |
| debian 8 | libraw | 0.16.0-9+deb8u3 |
| debian 9 | libraw | 0.17.2-6+deb9u1 |
| echo | libraw | 0.18.2-2 |
Show all 29 entries from 27 sources
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.3 | libraw | 0.17.2-r1 |
| alpine 3.4 | libraw | 0.17.2-r1 |
| alpine 3.5 | libraw | 0.17.2-r1 |
| alpine 3.6 | libraw | 0.17.2-r1 |
| debian 11 | libraw | 0.18.2-2 |
| debian 12 | libraw | 0.18.2-2 |
| debian 13 | libraw | 0.18.2-2 |
| debian 14 | libraw | 0.18.2-2 |
| debian 7 | libraw | 0.14.6-2+deb7u2 |
| debian 8 | libraw | 0.16.0-9+deb8u3 |
| debian 9 | libraw | 0.17.2-6+deb9u1 |
| echo | libraw | 0.18.2-2 |
| rapidfort ubuntu 20.04 | exactimage | no fix listed |
| rapidfort ubuntu 22.04 | exactimage | no fix listed |
| rapidfort ubuntu 24.04 | exactimage | no fix listed |
| Red Hat | LibRaw | no fix listed |
| Red Hat | LibRaw-devel | no fix listed |
| Red Hat | LibRaw-static | no fix listed |
| root.io debian 13 | rootio-libraw | 0.18.2-2 |
| ubuntu 14.04 | libraw | 0.15.4-1ubuntu0.1 |
| ubuntu 16.04 | libraw | 0.17.1-1ubuntu0.1 |
| ubuntu 16.04-ESM | libraw | 0.17.1-1ubuntu0.1 |
| ubuntu 17.04 | libraw | 0.18.1-1ubuntu0.1 |
| ubuntu 18.04-ESM | exactimage | no fix listed |
| ubuntu 20.04-ESM | exactimage | no fix listed |
| ubuntu 22.04 | exactimage | no fix listed |
| ubuntu 24.04 | exactimage | no fix listed |
| ubuntu 26.04 | exactimage | no fix listed |
| ubuntu 26.10 | exactimage | no fix listed |
References
- http://www.debian.org/security/2017/dsa-3950
- http://www.securityfocus.com/bid/98605
- https://access.redhat.com/security/cve/CVE-2017-6886
- https://github.com/LibRaw/LibRaw/commit/d7c3d2cb460be10a3ea7b32e9443a83c243b2251
- https://nvd.nist.gov/vuln/detail/CVE-2017-6886
- https://secuniaresearch.flexerasoftware.com/advisories/75737/
- https://secuniaresearch.flexerasoftware.com/secunia_research/2017-5/
- https://ubuntu.com/security/notices/USN-3492-1