Name | CVE-2018-5809 |
Description | An error within the "LibRaw::parse_exif()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
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 | fixed |
| 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 |
| sid, trixie | 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 | jessie | (not affected) | | | |
libraw | source | stretch | (not affected) | | | |
libraw | source | (unstable) | 0.18.11-1 | | | |
Notes
[stretch] - libraw <not-affected> (Vulnerable code not present)
[jessie] - libraw <not-affected> (Vulnerable code not present)
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/
https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9
rechecked libraw/stretch as not-affected: the patch fixing multiple issues is mostly applied via DLA-2903-1 except for the parse_exif() aspects that are not present, poc not available)
https://web.archive.org/web/20181211082759/https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/