Name | CVE-2018-5816 |
Description | An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804). |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | ELA-697-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libraw (PTS) | jessie, jessie (lts) | 0.16.0-9+deb8u6 | fixed |
| stretch (security) | 0.17.2-6+deb9u2 | vulnerable |
| stretch (lts), stretch | 0.17.2-6+deb9u5 | fixed |
| buster (security), buster, buster (lts) | 0.19.2-2+deb10u4 | fixed |
| bullseye (security), bullseye | 0.20.2-1+deb11u1 | fixed |
| bookworm | 0.20.2-2.1 | fixed |
| trixie, sid | 0.21.3-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libraw | source | wheezy | (unfixed) | end-of-life | | |
libraw | source | jessie | (not affected) | | | |
libraw | source | stretch | 0.17.2-6+deb9u3 | | ELA-697-1 | |
libraw | source | (unstable) | 0.18.13-1 | low | | |
Notes
[stretch] - libraw <not-affected> (Fix for CVE-2018-5804 not released in stretch)
[jessie] - libraw <not-affected> (Fix for CVE-2018-5804 not in jessie LTS)
http://seclists.org/bugtraq/2018/Jul/58
Issue caused by an incomplete fix for CVE-2018-5804
https://github.com/LibRaw/LibRaw/commit/1d8d1b452e5dc74033ee9f846081a0efb616cc39